vim/bundle/deoplete-go/tests/fmt.go

19 lines
222 B
Go
Raw Normal View History

2019-05-13 12:28:47 +02:00
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))
}