Skip to content

Instantly share code, notes, and snippets.

@asmedrano
Created November 8, 2015 18:48
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/99999a21472793428c76 to your computer and use it in GitHub Desktop.
Save asmedrano/99999a21472793428c76 to your computer and use it in GitHub Desktop.
Small GOPATH setter 2015
#!/bin/bash
export GOPATH=$(pwd):$(pwd)/vendor # make GOPATH both the local src dir and also if using GB the 'vendor' dir
export PATH=$PATH:$(pwd)/bin # add the current GOPATH bin directory to the path for convinience
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment