Created
April 14, 2020 18:45
-
-
Save magickatt/fc216107f23d7ae6adfd8500693516b2 to your computer and use it in GitHub Desktop.
Missing Go paths
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
# Check what $GOPATH and $GOBIN are currently | |
echo "GOPATH = ${GOPATH}\nGOBIN = ${GOBIN}" | |
# Set them relative to your home directory | |
export GOPATH=$HOME && export GOBIN=$GOPATH/bin | |
echo "GOPATH = ${GOPATH}\nGOBIN = ${GOBIN}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment