-
-
Save psanzay/23940db5159e8a8b7f43b155eb900c86 to your computer and use it in GitHub Desktop.
Set $GOPATH on Mac OSX : bash_profile
This file contains hidden or 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
# Edit ~/.bash_profile | |
# GOPATH is used to specify directories outside of $GOROOT that contain the source for Go projects and their binaries. | |
export GOPATH=/Users/username/go | |
export PATH=$GOPATH/bin:$PATH | |
# Reload profile : source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment