windows 下go get命令失败解决办法

【windows 下go get命令失败解决办法】错误情况
cannot download, $GOPATH not set. For more details see: go help gopath
解决办法 设置环境变量gopath
错误情况
go: missing Git command. See https://golang.org/s/gogetcmd package github.com/astaxie/beego: exec: “git”: executable file not found in %PATH%
解决办法 1 Google并下载 git for Windows
2 添加git的bin目录到环境变量 并重启

    推荐阅读