Mastering-Go-Second-Edition/ch11/xCompile.go
2019-01-10 22:09:57 +02:00

12 lines
211 B
Go

package main
import (
"fmt"
"runtime"
)
func main() {
fmt.Print("You are using ", runtime.Compiler, " ")
fmt.Println("on a", runtime.GOARCH, "machine")
fmt.Println("with Go version", runtime.Version())
}