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
+86.1k Golang : How to convert character to ASCII and back
+10.4k Android Studio : Checkbox for user to select options example
+13.1k Android Studio : Password input and reveal password example
+15.2k Golang : rune literal not terminated error
+8.9k Android Studio : Indicate progression with ProgressBar example
+12.3k Android Studio : Highlight ImageButton when pressed on example
+23.3k Find and replace a character in a string in Go
+30.5k error: trying to remove "yum", which is protected
+3.4k Golang : Switch Redis database redis.NewClient
+22.9k Golang : Print out struct values in string format
+4.9k Golang : Issue HTTP commands to server and port example
+26k Golang : Convert(cast) string to uint8 type and back to string