golang “go get” command showing “go: missing Git command” error

后端 未结 5 1893
栀梦
栀梦 2021-02-01 17:22

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         


        
5条回答
  •  臣服心动
    2021-02-01 17:53

    go get requires git if any of the packages lives (and is being fetched) from a git repository. For Windows, you can install git from the git website.

提交回复
热议问题