go get 报错:go: module github.com/gin-gonic/gin: Get “https://proxy.golang.org/github.com/gin-gonic/gin/@v/list”: dial tcp 172.217.160.113:443: connectex: A connection attem pt 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: module github.com/gin-gonic/gin: Get "https://proxy.golang.org/github.com/gin-gonic/gin/@v/list": dial tcp 172.217.160.113:443: connectex: A connection attem
pt 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,direct
go get下载成功

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容