Skip to content

Instantly share code, notes, and snippets.

@asmedrano
Created August 29, 2013 22:40
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 asmedrano/6384289 to your computer and use it in GitHub Desktop.
Save asmedrano/6384289 to your computer and use it in GitHub Desktop.
Set Go Env vars
#!/bin/bash
export GOPATH=`pwd`
export PATH=$PATH:$GOPATH/bin
# in order to have the env variables set you need to run this script with 'source' or '.' instead of just 'bash' or './'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment