mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:10:05 +08:00
19 lines
222 B
Go
Vendored
19 lines
222 B
Go
Vendored
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"net"
|
|
"os"
|
|
"strconv"
|
|
"syscall"
|
|
)
|
|
|
|
var str string
|
|
|
|
func main() {
|
|
fmt.Println(os.Args[0])
|
|
fmt.Println(net.InterfaceAddrs())
|
|
|
|
fmt.Println(strconv.FormatInt(int64(syscall.Getuid()), 10))
|
|
}
|