Easy GOPATH fix for Google Go
If you're working with google go and having issues of getting go libraries in the wrong projects (which happens to me more than often :P) add a init.sh file to the base of your project with the contents:
export GOPATH=/Path/To/Project
and when you use the command line for running or building simply fire this command:
source init.sh
Voila, no more path issues
Note: This only works on Linux or Mac systems
Written by Martijn van Maasakkers
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#