百度已收录

go get失败信息

go get -u github.com/astaxie/beego

attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

go get 换源

 windows用户

$ go env -w GO111MODULE=on
$ go env -w GOPROXY=https://goproxy.cn,direct

mac和linux用户

$ export GO111MODULE=on
$ export GOPROXY=https://goproxy.cn