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
+4.9k nginx : force all pages to be SSL
+13.8k Golang : Get all local users and print out their home directory, description and group id
+5.8k Default cipher that OpenSSL used to encrypt a PEM file
+11.2k Golang : Display list of countries and ISO codes
+12.9k Golang: Pad right or print ending(suffix) zero or spaces in fmt.Printf example
+8.7k Golang : Validate IPv6 example
+19.2k Golang : How to force compile or remove object files first before rebuild?
+12.3k Golang : Read XML elements data with xml.CharData example
+18.7k Android Studio : AlertDialog and EditText to get user string input example
+13k Golang : Google Drive API upload and rename example
+5.7k Unix/Linux : How to get own IP address ?
+7.1k Golang : Multiplexer with net/http and map