美文网首页
go get卡住慢的问题解决

go get卡住慢的问题解决

作者: abelweiwencai | 来源:发表于2020-03-02 17:56 被阅读0次

linux或者mac在shell执行

# Enable the go modules feature
export GO111MODULE="on"
# Set the GOPROXY environment variable
export GOPROXY="https://goproxy.io"

windows

# Enable the go modules feature
$env:GO111MODULE="on"
# Set the GOPROXY environment variable
$env:GOPROXY="https://goproxy.io"

参考:
https://goproxy.io/
https://mirrors.aliyun.com/goproxy/

相关文章

网友评论

      本文标题:go get卡住慢的问题解决

      本文链接:https://www.haomeiwen.com/subject/ikfbkhtx.html