Skip to content

Instantly share code, notes, and snippets.

@dt
Created May 19, 2016 21:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dt/12eea95cc054a2a6018f2ca839e146b9 to your computer and use it in GitHub Desktop.
Save dt/12eea95cc054a2a6018f2ca839e146b9 to your computer and use it in GitHub Desktop.
fs gopath and goroot
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