Skip to content

用go mod解决依赖问题 - #5

Closed
brownchow wants to merge 1 commit into
llychao:masterfrom
brownchow:master
Closed

用go mod解决依赖问题#5
brownchow wants to merge 1 commit into
llychao:masterfrom
brownchow:master

Conversation

@brownchow

Copy link
Copy Markdown

看到很多人讨论因为依赖无法编译,感觉可以用 go mod 管理依赖,这样执行 go build 的时候会自动下载依赖,一些 Go env 可能需要设置下

GO111MODULE="auto"
GOPROXY="https://goproxy.io,direct"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants