go get出现错误的解决办法
正文开始
错误提示
unrecognized import path "golang.org/x/sys/windows": https fetch: Get "https://golang.org/x/sys/windows?go-get=1": dial tcp 216.239.37.1:443: 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.
解决办法
mkdir -p $GOPATH/src/golang.org/x
cd $GOPATH/src/golang.org/x
git clone https://github.com/golang/sync.git
git clone https://github.com/golang/crypto.git
git clone https://github.com/golang/sys.git
————————————————
原文链接:https://blog.csdn.net/cyLee_/java/article/details/93159032
本文链接
https://blog.asbid.cn/solutions-to-go-get-errors.html如果觉得本文对你有所帮助可以打赏作者。你的赞赏是对作者最大的鼓励!
赏
相关链接
- Xcode 编译applealc出现签名错误的解决方法
- ShadowsocksR/SSR windows客户端
- 记一次亿储SSD固态掉盘修复(重新开卡)
- 黑苹果开机出现error loading kernel cache 0x1
- Vultr.com新用户充值$10赠送$50活动