Re:Ask HN: Organizing Golang and non-Golang projects?
by christophberger on Saturday December 24, 2016 @06:27PM
(#13252089)
You could use a Go "project" that is in fact the $GOPATH, like so:
|-- projects
|-- project_0
|-- project_1
|-- project_2
|-- go
|-- src
|-- pkg
|-- bin
|-- project_4
|-- project_5
Your other projects would then not be affected at all.
Or consider using a tool like `gb` (https://github.com/constabulary/gb) that does not depend on $GOPATH. (But ensure to understand the caveats of this tool before switching to it.)
Or consider using a tool like `gb` (https://github.com/constabulary/gb) that does not depend on $GOPATH. (But ensure to understand the caveats of this tool before switching to it.)