01go包无法远程下载,无法访问

默认使用的是proxy.golang.org,在国内无法访问。

 

 

处理方法 换一个国内能访问的代理地址:https://goproxy.cn

 

go env -w GOPROXY=https://goproxy.cn

  

posted @ 2023-03-21 10:41  冷夜O  阅读(20)  评论(0)    收藏  举报