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
+5.3k Swift : Convert string array to array example
+14.2k Elastic Search : Mapping date format and sort by date
+19.7k Golang : Archive directory with tar and gzip
+11.7k Golang : Gorilla web tool kit secure cookie example
+7.4k Android Studio : How to detect camera, activate and capture example
+12.5k Golang : HTTP response JSON encoded data
+14.9k Golang : How to check for empty array string or string?
+5.6k Golang : Shortening import identifier
+14.6k Golang : Convert(cast) int to float example
+12.1k Golang : convert(cast) string to integer value
+7.7k Gogland : Where to put source code files in package directory for rookie