首页 > 其他 > 详细

glide 镜像

时间:2018-09-22 16:26:55      阅读:252      评论:0      收藏:0      [点我收藏+]

运行glide install 失败  国内墙的原因, 某些网站上不去

[ERROR]Update failed for golang.org/x/crypto: Cannot detect VCS

[ERROR]Failed to install: Cannot detect VCS

 

通过glide mirror设置

最初参考https://zhuanlan.zhihu.com/p/27994151这篇文章 只设置了一个 

 

glide mirror set golang.org/x/crypto github.com/golang/crypto

发现不成功. 

 

设置了下面一堆  然后运行glide install 成功啦。。

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/sys https://github.com/golang/sys --vcs git

glide mirror set https://golang.org/x/text https://github.com/golang/text --vcs git

glide mirror set https://google.golang.org/grpc https://github.com/grpc/grpc-go --vcs git

glide mirror set https://google.golang.org/genproto https://github.com/google/go-genproto --vcs git

glide 镜像

原文:https://www.cnblogs.com/sandea/p/9690352.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!