Created
September 3, 2014 12:48
-
-
Save Jabbslad/5a41c96ad371345064bb to your computer and use it in GitHub Desktop.
Setup Golang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install go | |
mkdir $HOME/go | |
echo -e " | |
export GOPATH=$HOME/go | |
export GOROOT=$(go env GOROOT) | |
export PATH=$PATH:$GOPATH/bin:$GOROOT/bin" >> $HOME/.bash_profile | |
brew install hg | |
source $HOME/.bash_profile | |
go get code.google.com/p/go.tools/cmd/godoc | |
go get code.google.com/p/go.tools/cmd/vet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment