$ brew install go
package main import "fmt" func main() { fmt.Println("Hello World!") }
运行
$ go run hello.go Hello World!
编译
$ go build hello.go
Effective Goarrow-up-right
Code Review Commentsarrow-up-right
菜鸟教程arrow-up-right
最后更新于5年前