Skip to content

Instantly share code, notes, and snippets.

@pporada-gl
Created February 13, 2017 17:51
Show Gist options
  • Save pporada-gl/f6500d9ebc436df9c8bd955753cfc2e2 to your computer and use it in GitHub Desktop.
Save pporada-gl/f6500d9ebc436df9c8bd955753cfc2e2 to your computer and use it in GitHub Desktop.
golang env setup
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