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
+21.8k Golang : GORM create record or insert new record into database example
+7.8k Golang : Mapping Iban to Dunging alphabets
+9.6k Golang : Detect Pascal, Kebab, Screaming Snake and Camel cases
+7.4k Golang : Check if one string(rune) is permutation of another string(rune)
+6.8k Golang : Reverse by word
+10.7k Golang : How to delete element(data) from map ?
+20.6k Golang : Pipe output from one os.Exec(shell command) to another command
+14.7k Golang : Execute function at intervals or after some delay
+15.7k Chrome : ERR_INSECURE_RESPONSE and allow Chrome browser to load insecure content
+9.1k Golang : Inject/embed Javascript before sending out to browser example
+19.6k Golang : How to Set or Add Header http.ResponseWriter?
+8.7k Golang : Another camera capture GUI application with GTK and OpenCV