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
1 changed files with 3 additions and 0 deletions

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)
}