glide 下载golang.org包问题

原创
2019/03/21 21:55
阅读数 670

今天编译Uber的Aresgo。依赖管理用 glide,下载golang.org 包的时候遇到问题。

方法一:

设置 glide mirror

glide mirror set https://golang.org/x/mobile https://github.com/golang/mobile --vcs git
glide mirror set https://golang.org/x/crypto https://github.com/golang/crypto --vcs git
glide mirror set https://golang.org/x/net https://github.com/golang/net --vcs git
glide mirror set https://golang.org/x/tools https://github.com/golang/tools --vcs git
glide mirror set https://golang.org/x/text https://github.com/golang/text --vcs git
glide mirror set https://golang.org/x/image https://github.com/golang/image --vcs git
glide mirror set https://golang.org/x/sys https://github.com/golang/sys --vcs git

$ glide init
$ glide install

方法二:

GOPROXY

https://shockerli.net/post/go-get-golang-org-x-solution/

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
1
分享
返回顶部
顶部