소스 검색

Add compiler, Arch, and OS to info command

Frédéric Guillot 8 년 전
부모
커밋
b9fee95cf2
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      cli/info.go

+ 3 - 0
cli/info.go

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