Add compiler, Arch, and OS to info command
This commit is contained in:
parent
359aea8308
commit
b9fee95cf2
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue