-
-
Save slav123/31500867cdcc8230f5ef0fc9f40a11a0 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/go | |
# 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