Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

请问 cd到mymon目录下执行go get ./...超时怎么解决 #19

Open
yang-sheep opened this issue Nov 29, 2017 · 3 comments
Open

请问 cd到mymon目录下执行go get ./...超时怎么解决 #19

yang-sheep opened this issue Nov 29, 2017 · 3 comments

Comments

@yang-sheep
Copy link

[root@open-flacn mymon]# go get ./...
package golang.org/x/crypto/ssh/terminal: unrecognized import path "golang.org/x/crypto/ssh/terminal" (https fetch: Get https://golang.org/x/crypto/ssh/terminal?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
package golang.org/x/sys/unix: unrecognized import path "golang.org/x/sys/unix" (https fetch: Get https://golang.org/x/sys/unix?go-get=1: dial tcp 216.239.37.1:443: i/o timeout)
You have new mail in /var/spool/mail/root
[root@open-flacn mymon]# go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/root/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build246666056=/tmp/go-build"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

@mrhjx2
Copy link

mrhjx2 commented Nov 29, 2017

google仓超时了

@yang-sheep
Copy link
Author

@mrhjx2 我知道超时啊,这不是不能翻墙么,go我又不太懂,所以想在不翻墙的情况下怎么能实现go编译了,我看官网又说用govendor的,但是文档好少,不太会......

@lgy5
Copy link

lgy5 commented Jan 19, 2018

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants