使用glide mirror
from : https://www.jianshu.com/p/a6a0fc9508ef
使用glide mirror下载一些不能访问的golang库,需要在glide的mirrors.yaml中进行配置。
下方是我整理的一些可用的mirror库:
repos:
- original: golang.org/x/crypto
repo: github.com/golang/crypto - original: golang.org/x/sys
repo: github.com/golang/sys - original: https://google.golang.org/appengine
repo: https://github.com/golang/appengine
vcs: git - original: https://golang.org/x/crypto
repo: https://github.com/golang/crypto
vcs: git - original: https://golang.org/x/image
repo: https://github.com/golang/image
vcs: git - original: https://golang.org/x/mobile
repo: https://github.com/golang/mobile
vcs: git - original: https://golang.org/x/net
repo: https://github.com/golang/net
vcs: git - original: https://golang.org/x/sync
repo: https://github.com/golang/sync
vcs: git - original: https://golang.org/x/sys
repo: https://github.com/golang/sys
vcs: git - original: https://golang.org/x/sys
repo: https://github.com/golang/sys
vcs: git - original: https://golang.org/x/sys/unix
repo: https://github.com/golang/sys - original: https://golang.org/x/sys/unix
repo: https://github.com/golang/sys - original: https://golang.org/x/text
repo: https://github.com/golang/text
vcs: git - original: https://golang.org/x/text
repo: https://github.com/golang/text - original: https://golang.org/x/tools
repo: https://github.com/golang/tools
vcs: git - original: https://google.golang.org/genproto
repo: https://github.com/google/go-genproto
vcs: git - original: https://google.golang.org/grpc
repo: https://github.com/grpc/grpc-go
vcs: git
作者:东北人Eric
链接:https://www.jianshu.com/p/a6a0fc9508ef
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。