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.8k Golang : Measure execution time for a function
+10.5k CodeIgniter : Import Linkedin data
+7.9k Golang : Populate or initialize struct with values example
+4.2k JavaScript/JQuery : Redirect page examples
+21.1k Golang : Convert Unix timestamp to UTC timestamp
+9.2k JavaScript/JQuery : Detect or intercept enter key pressed example
+30.3k Golang : Copy directory - including sub-directories and files
+20.6k Golang : How to run Golang application such as web server in the background or as daemon?
+8.5k Golang : Populate slice with sequential integers example
+8.5k Golang : Validate IPv6 example
+8.2k Golang : Qt Yes No and Quit message box example
+18.7k Golang : Read directory content with os.Open