-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Golang: Go 1.11 Modules #113
Labels
Comments
Go 1.11 Modules:说明:ref:使用方法:1. 初始化 go.mod 文件:
2. 更新项目包依赖:
3. go get 新特性:
$ go get
|
go modules 被墙解决办法:
方案1: 修改 go.mod:
镜像仓库列表:
方案2: 走proxy:方案3: 手动拉取github对应repo替换:
|
go mod + go get:安装指定版本:
安装指定分支:
|
google.golang.org/genproto golang, google 包列表:
protobuf:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
go 包管理工具
对比其他包管理工具:
https://ieevee.com/tech/2017/07/10/go-import.html
dep
glide
The text was updated successfully, but these errors were encountered: