This is a creation in Article, where the information may have evolved or changed.
When you use go get to install a project on GitHub, in general, errors are unavoidable. Various error handling methods:
Required Conditions:
1. Install git and configure environment variables. Download Address: http://git-scm.com/
2, install the Golang environment, and configure the environment variables.
Other errors:
1, prompt missing Mercurial command
Need to download and install mercurial software TORTOISEHG. Address: mercurial.selenic.com
Can't download? The programmer who has to turn over the wall and not turn over the wall is not a qualified programmer, ha.
2. Prompt exec: "git": Executable file not found in%PATH%
Git is not installed correctly. The environment variable may not be configured properly.
3, SSL certificate problem
Turn off authentication before running go get, execute at command line:
Git config–global http.sslverify false4, if there is a problem with the network connection, if you need to turn over the wall, first install the wall software, such as Goagent, and then also before the go Get command execution, set up a proxy for git: git config– Global Http.proxy "127.0.0.1:8087″
Original: http://www.baiyuxiong.com/?p=876