Skip to content

Instantly share code, notes, and snippets.

@rodkranz
Last active June 22, 2018 22:23
Show Gist options
  • Save rodkranz/e52e3f2512ff07ef0a53c7f553d94c85 to your computer and use it in GitHub Desktop.
Save rodkranz/e52e3f2512ff07ef0a53c7f553d94c85 to your computer and use it in GitHub Desktop.
Golang environment
# OS
# export GOOS=linux
# ROOT FILES
export GOROOT=/usr/local/go
# Define here your path of GO projects
export GOPATH=$HOME/Projects
# Export go project in terminal
export GOBIN=$GOPATH/bin
# Export to PATHs
export PATH=$PATH:$GOBIN:$GOROOT/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment