Hacker News new | past | comments | ask | show | jobs | submit login

You can make a sub directory of your `projects` your GOPATH.

Something like `projects/go`

I have multiple GOPATH for personal reasons and use long running tmux sessions which exports the different GOPATH.




That's what I currently do. It's really just a minor annoyance, but it is an extra layer of friction for any newcomers to the language (and a pretty bad first impression)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: