I\'m new in go lang. Trying to import a go library using \"go get\" command but in cmd getting this error:
go: missing Git command. See https://golang.org/s/goge
Installing git will solve the issue.
brew install gitsudo apt-get install gitpacman -S gitgit installation page.If you are getting while running in building docker image then you should install git there. [I got this issue while building docker image]
For Example: In my Dockerfile
FROM golang:alpine
RUN apk add git