未验证 提交 c7b08234 编写于 作者: K Kevin Yeap 提交者: GitHub

Update Go-related steps in Mac README

Install go dep by default, and remove ~/go from GOPATH.
上级 c270bafe
......@@ -25,6 +25,7 @@ brew link --force apr-util
# Installing Golang
mkdir -p ~/go/src
brew install go # Or get the latest from https://golang.org/dl/
brew install dep
# Installing python libraries
brew install python
......@@ -86,8 +87,8 @@ EOF
# Step: GOPATH for Golang
cat >> ~/.bash_profile << EOF
export GOPATH=\$HOME/go:\$HOME/workspace/gpdb/gpMgmt/go-utils
export PATH=\$HOME/go/bin:\$HOME/workspace/gpdb/gpMgmt/go-utils/bin:\$PATH
export GOPATH=\$HOME/workspace/gpdb/gpMgmt/go-utils
export PATH=\$HOME/workspace/gpdb/gpMgmt/go-utils/bin:\$PATH
EOF
# Step: speed up compile time (optional)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册