glide 鏡像


運行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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM