1
0
Fork 0

Add compiler, Arch, and OS to info command

This commit is contained in:
Frédéric Guillot 2018-09-16 19:13:16 -07:00
parent 359aea8308
commit b9fee95cf2

View file

@ -15,4 +15,7 @@ func info() {
fmt.Println("Version:", version.Version)
fmt.Println("Build Date:", version.BuildDate)
fmt.Println("Go Version:", runtime.Version())
fmt.Println("Compiler:", runtime.Compiler)
fmt.Println("Arch:", runtime.GOARCH)
fmt.Println("OS:", runtime.GOOS)
}