关于使用go get安装go-echo时的一些问题

caozhiheng0625 · · 2158 次点击
网卡了,多试几次即可
#2
更多评论
我试了下,没有问题。感觉你的 GOPATH 包含了多个路径(当然,应该跟这个没啥关系)。 可以这样试试:`go get -v -u github.com/labstack/echo`,看输出过程!
#1
``` G:\GO\go\src\project>go get -v -u github.com/labstack/echo github.com/labstack/echo (download) github.com/labstack/gommon (download) # cd C:\Users\Administrator\go\src\github.com\labstack\gommon; git pull --ff-only fatal: No remote repository specified. Please, specify either a URL or a remote name from which new revisions should be fetched. package github.com/labstack/gommon/color: exit status 1 package github.com/labstack/gommon/log: cannot find package "github.com/labstack/gommon/log" in any of: G:\GO\go\src\github.com\labstack\gommon\log (from $GOROOT) C:\Users\Administrator\go\src\github.com\labstack\gommon\log (from $GOPATH) Fetching https://golang.org/x/crypto/acme/autocert?go-get=1 https fetch failed: Get https://golang.org/x/crypto/acme/autocert?go-get=1: dial tcp 216.239.37.1:443: connectex: A connection 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. package golang.org/x/crypto/acme/autocert: unrecognized import path "golang.org/x/crypto/acme/autocert" (https fetch: Get https://golang.org/x/crypto/acme/autocert?go-get=1: dial tcp 216.239.37.1:443: connectex: A connection attempt failed because the connected party did not properly respond after a peri od of time, or established connection failed because connected host has failed to respond.) ``` 这。。。。。
#3