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 git
sudo apt-get install git
pacman -S git
git 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