Go install 拒绝连接问题

问题:

解决方法:

使用国内七牛云的 go module 镜像。

参考 https://github.com/goproxy/goproxy.cn。

1 go env -w GO111MODULE=on
2 go env -w GOPROXY=https://goproxy.cn,direct 

PS. 第一次用Ubuntu自带截图功能Screenshots and screencasts,快捷键Shift+PrtSc就可以局部截图,图片存在Pictures文件夹

 

posted @ 2022-04-24 11:47  Alex0422  阅读(21)  评论(0)    收藏  举报