This is a creation in Article, where the information may have evolved or changed.
Glide Install golang.org failed
Background
Because golang.org is the wall of the reason, so the domestic installation of the library will fail (cannot detect VCS).
Solution One
Configure the image as follows:
$ rm-rf ~/.glide$ mkdir-p ~/.glide$ Glide MirrorSet HTTPS://golang.org/x/mobileHTTPS://github.com/golang/mobile--vcs git$ Glide mirrorSet HTTPS://golang.org/x/cryptoHTTPS://github.com/golang/crypto--vcs git$ Glide mirrorSet HTTPS://golang.org/x/netHTTPS://github.com/golang/net--vcs git$ Glide mirrorSet HTTPS://golang.org/x/toolsHTTPS://github.com/golang/tools--vcs git$ Glide mirrorSet HTTPS://golang.org/x/text HTTPS://github.com/golang/text --vcs git$ Glide mirrorSet HTTPS://golang.org/x/imageHTTPS://github.com/golang/image--vcs git$ Glide mirrorSet HTTPS://golang.org/x/sysHTTPS://github.com/golang/sys--vcs gitThen execute the $ glide init$ Glide install in the project
Solution II
Without using glide, direct go get downloads the corresponding library in GitHub, copies it to Gopath, and modifies the path in the GOPATH/SRC to match the code.