我的go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/xamenrax/code/golang"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.3.2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.3.2/libexec/pkg/tool/darwin_amd64"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"但是在我所做的go get github.com/robfig/revel中没有任何输出,这个命令只是静默地不做任何操作。
发布于 2014-09-30 12:10:56
它什么也不做,但是检查$GOPATH/src/github.com/robfig/revel文件夹的内容。
如果该文件夹存在,则可能是go get下载、编译和安装了您的项目。
解决办法是手动完成:
robfig中创建$GOPATH/src/github.com文件夹,以及robfig文件夹中,尝试:
git克隆https://github.com/robfig/revelrevel文件夹中,尝试一个go build,然后是go install
go build命令应从$GOPATH/src/github.com/robfig/revel/revel执行
https://stackoverflow.com/questions/26120448
复制相似问题