Currently I'm using godep for package vendoring for Go. The problem is that I'm working on multiple projects depending on different versions of a certain package. I can't decide how to structure my GOPATH(s). I have several options:
- Use a single GOPATH and use godep restore when switching between projects. The different versions of the certain package will be switched.
- Use a GOPATH per project and only use godep restore when needed.
Which option is recommended and why?