我是一个入门的围棋,我想使用Revel框架。我安装了: Git;Mercurial,甚至: Bazaar和CVS。
我检查了我的环境变量。我将环境变量GOPATH设置为D:\Go,并将D:\Go\bin添加到PATH.But中,我在go获取Revel (Ggetgithub.com/revel/revel)时仍然会得到这些错误。
**
发布于 2015-07-13 19:09:37
对于进入主文件夹的分期付款,您需要以下环境变量:
.
├── bin
├── go (GO)
└── src
├── revel.project
│ ├── app
│ │ ├── controllers
│ │ ├── models
│ │ ├── routes
│ │ ├── tmp
│ │ └── views
│ │ ├── admin
│ │ ├── App
│ │ ├── errors
│ │ └── users
│ ├── conf
│ ├── messages
│ ├── public
│ │ ├── css
│ │ │ └── administrator
│ │ ├── img
│ │ ├── js
│ │ └── uploads
│ │ └── 1
│ ├── resources
│ ├── scripts
│ ├── test-results
│ └── tests
├── code.google.com
├── github.com
│ ├── revel
│ │ ├── cmd
│ │ ├── modules
│ │ └── revel在提示路径中运行此命令,如果文件夹不同,则进行修改。
export GOARCH=amd64
export GOPATH=~/go
export GOBIN=~/go/go/bin
export GOROOT=~/go/go
export PATH=$PATH:$GOPATH/go/bin
export GOTOOLDIR=~/go/go/pkg/tool/linux_amd64
export CC="gcc"
export GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
export CXX=g++
export CGO_ENABLED=1哪里~是系统中您个人文件夹的名称(Bash )
https://stackoverflow.com/questions/29843116
复制相似问题