Created
November 2, 2018 05:04
-
-
Save andreleoni/0169c9782c14a119a7e93d7c993b383d 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
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