Last active
September 4, 2019 00:17
-
-
Save jihuichoi/0a06c351e6ba9c16a834fc6e3a0ca02c to your computer and use it in GitHub Desktop.
how to set gopath on mac or linux
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 or ~/.bashrc or ~/.zshrc .... | |
export GOPATH=$HOME/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