Created
May 6, 2014 21:34
-
-
Save maedhroz/9d5a9d77e90f1255b6f7 to your computer and use it in GitHub Desktop.
Get Brew to Play Nicely w/ Go
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
GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6) | |
export GOROOT=$(brew --prefix)/Cellar/go/$GOVERSION/libexec | |
export GOPATH=/Users/[user]/go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment