Created
April 27, 2014 12:15
-
-
Save vincenting/11344139 to your computer and use it in GitHub Desktop.
golang init shell
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
| # change gopath to current path | |
| export GOPATH=$(pwd) | |
| # create dirs if not exist | |
| mkdir -p bin | |
| mkdir -p src | |
| mkdir -p pkg | |
| # add current bin path to global path | |
| export PATH=$PATH:$GOPATH/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment