Golang : missing Git command
Problem :
Attempt go get
some package failed because Git is missing.
For example :
go: missing Git command. See http://golang.org/s/gogetcmd
package github.com/go-sql-driver/mysql: exec: "git": executable file not found in $PATH
Solution :
Your local machine does not have Git installed. Download and install Git from http://git-scm.com/downloads
After installing Git, rerun the go get
command again.
See also : Golang : missing Mercurial command
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+15.8k Chrome : ERR_INSECURE_RESPONSE and allow Chrome browser to load insecure content
+11.3k Google Maps URL parameters configuration
+16.7k Golang : Delete files by extension
+4.8k Chrome : How to block socketloop.com links in Google SERP?
+7.5k Golang : How to detect if a sentence ends with a punctuation?
+13.9k Golang : Check if an integer is negative or positive
+5k Nginx and PageSpeed build from source CentOS example
+6.8k Golang : Check if password length meet the requirement
+15.7k Golang : How to convert(cast) IP address to string?
+5.5k Golang : Reclaim memory occupied by make() example
+5.9k Golang : Launching your executable inside a console under Linux
+30k Golang : Get and Set User-Agent examples