使用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
网友评论