Skip to content

Instantly share code, notes, and snippets.

@magickatt
Created April 14, 2020 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magickatt/fc216107f23d7ae6adfd8500693516b2 to your computer and use it in GitHub Desktop.
Save magickatt/fc216107f23d7ae6adfd8500693516b2 to your computer and use it in GitHub Desktop.
Missing Go paths
# 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