Skip to content

Instantly share code, notes, and snippets.

@andreleoni
Created November 2, 2018 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreleoni/0169c9782c14a119a7e93d7c993b383d to your computer and use it in GitHub Desktop.
Save andreleoni/0169c9782c14a119a7e93d7c993b383d to your computer and use it in GitHub Desktop.
setup golang
mkdir ~/.go
echo "GOPATH=$HOME/.go" >> ~/.bashrc
echo "export GOPATH" >> ~/.bashrc
echo "PATH=\$PATH:\$GOPATH/bin # Add GOPATH/bin to PATH for scripting" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment