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
+12.6k Golang : convert rune to unicode hexadecimal value and back to rune character
+15.3k Golang : How to implement two-factor authentication?
+7.2k Golang : Ackermann function example
+23.8k Golang : Convert uint value to string type
+10.2k Golang : GTK Input dialog box examples
+18.4k Golang : How to get time from unix nano example
+12.2k Golang : Verify token from Google Authenticator App
+4.5k Golang : Get S3 or CloudFront object or file information
+3.4k Javascript : How to show different content with noscript?
+44.1k Golang : Marshal and unmarshal json.RawMessage struct example
+8.2k Golang : Web(Javascript) to server-side websocket example
+17.6k Golang : Read input from console line