Created
October 24, 2017 12:27
-
-
Save mlabouardy/7423beadad1e536b74da77850b5ade70 to your computer and use it in GitHub Desktop.
Setup Go environment variables
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
# GOROOT is the location where Go package is installed on your system | |
export GOROOT=/usr/lib/golang | |
# GOPATH is the location of your work directory | |
export GOPATH=$HOME/projects | |
# PATH in order to access go binary system wide | |
export PATH=$PATH:$GOROOT/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment