- go build – 编译包,不安装
- go get – 解析并安装依赖,
如果包有更新,可以使用-u参数进行更新// 嵌套获取所有包依赖 go get ./...
go get -u package
- go test – 执行测试用例和性能测试,
- go install – 安装包,
- go doc – 生成文档,
- go fmt – 格式化代码,
- go run – 构建并执行应用,
- go tool – 调用扩展工具,
Last active
May 26, 2016 08:03
-
-
Save jieniu/dbaa092089a12a68ac00233e2442a2a1 to your computer and use it in GitHub Desktop.
go的工具
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment