Skip to content

Instantly share code, notes, and snippets.

@sebassdc
Created June 13, 2016 22:15
Show Gist options
  • Save sebassdc/5fe6ce83209195340f507980dbb916ae to your computer and use it in GitHub Desktop.
Save sebassdc/5fe6ce83209195340f507980dbb916ae to your computer and use it in GitHub Desktop.
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