Created
August 12, 2018 21:27
-
-
Save randypitcherii/0ca71d991873e63d9703936f29cfbafc to your computer and use it in GitHub Desktop.
Shell Customization - Golang
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
| # Golang setup | |
| export GOVERSION=$(brew list go | head -n 1 | cut -d '/' -f 6) | |
| export GOROOT=$(brew --prefix)/Cellar/go/${GOVERSION}/libexec | |
| export GOPATH="$HOME/go" | |
| export PATH=$PATH:$GOPATH/bin | |
| export GOPATH="$GOPATH:$(echo ~)/projects/tempus-edge/lib/go" | |
| export GOPATH="$GOPATH:$(echo ~)/projects/tempus-edge/applications/mqtt-client-go" | |
| export GOPATH="$GOPATH:$(echo ~)/projects/tempus-edge/protobuf-definitions/go-protobuf-output" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment