Ich bin neu in go lang. Der Versuch, eine Go-Bibliothek zu importieren, mit "go get" -Befehl aber in cmd immer diese Fehlermeldung:Golang "go get" -Befehl zeigt "go: fehlende Git Befehl" Fehler
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
Was mit meinem Go-Umgebung ist falsch?
Nichts, aber Sie haben Git nicht installiert, oder es ist nicht irgendwo in 'PATH'. – hobbs
yeah git ist nicht installiert. Dieser Befehl erfordert Git? – Yeahia2508
danke es hat funktioniert !!!! – Yeahia2508