设置go代理

在运行go程序的时候,

xxxx

connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
出现错误

是需要设置代理

执行命令:

go env -w GOPROXY=https://goproxy.cn
微信公众号
手机浏览(小程序)
0
分享到:
没有账号? 忘记密码?