Created
May 19, 2016 21:50
-
-
Save dt/12eea95cc054a2a6018f2ca839e146b9 to your computer and use it in GitHub Desktop.
fs gopath and goroot
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
export GOPATH="$HOME/code/go" | |
export PATH=$PATH:$GOPATH/bin | |
if [[ -d /data/loko/infrastructure-go/current/ ]]; then | |
export GOROOT=/data/loko/infrastructure-go/current/ | |
export PATH="$GOROOT/bin:$PATH" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment