I am new to go lang. Trying to import the go library using the "get get" command, but in cmd gets this error:
go: missing Git command. See https://golang.org/s/gogetcmd package github.com/ttacon/chalk: exec: "git": executable file not found in %PATH%
My Go Env:
set GOARCH=amd64 set GOBIN= set GOEXE=.exe set GOHOSTARCH=amd64 set GOHOSTOS=windows set GOOS=windows set GOPATH=F:\Works\Go set GORACE= set GOROOT=C:\Go set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64 set GO15VENDOREXPERIMENT=1 set CC=gcc set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 set CXX=g++ set CGO_ENABLED=1
What happened to my Go environment?
source share