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
+19.1k Golang : Populate dropdown with html/template example
+19.1k Golang : Delete item from slice based on index/key position
+10.5k Golang : Bubble sort example
+8k Golang : Randomize letters from a string example
+19.7k Golang : Measure http.Get() execution time
+5.7k Cash Flow : 50 days to pay your credit card debt
+13.9k Golang : concatenate(combine) strings
+9.6k Golang : Load ASN1 encoded DSA public key PEM file example
+28.7k Golang : Detect (OS) Operating System
+8.1k Golang : HttpRouter multiplexer routing example
+8.3k Useful methods to access blocked websites
+11.3k Use systeminfo to find out installed Windows Hotfix(s) or updates