Go 最基本的命令


1. 查询版本

go version

2. 格式化文件

go fmt filename.go

3. 运行 go 程序

go run filename.go