[Go] 解决golang.org模块无法下载的问题

使用GOPROXY环境变量解决proxy.golang.org无法访问问题

在/etc/profile中增加

export GOPROXY=https://goproxy.cn

windows下使用

 $env:GOPROXY = "https://goproxy.cn"

猜你喜欢

转载自www.cnblogs.com/taoshihan/p/12026451.html