Created
February 13, 2017 17:51
-
-
Save pporada-gl/f6500d9ebc436df9c8bd955753cfc2e2 to your computer and use it in GitHub Desktop.
golang env setup
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
mkdir ~/gocode | |
cat << "EOL" >> ~/.bashrc | |
export GOPATH="$HOME/gocode" | |
export PATH=$GOPATH/bin:"${PATH}" | |
EOL | |
source ~/.bashrc | |
go get github.com/tools/godep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment