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/Projectand when you use the command line for running or building simply fire this command:
source init.shVoila, 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#

 
 
 
