5 ms·
> The GOPATH is also a huge win. You always know where everything is and it is really fast to figure out about dependencies or structure of the project. I ...
by zemo 7y ago
> The GOPATH is also a huge win. You always know where everything is and it is really fast to figure out about dependencies or structure of the project.
I ... have some bad news.
- baby 7y agoYou probably don't. You can still use gopath and choose to use gopath for another project that doesn't.
- solidsnack9000 7y agoWhat's the bad news?
- zemo 7y ago"you always know where everything is" is no longer true. https://github.com/golang/go/wiki/Modules https://github.com/golang/go/wiki/Modules
- eikenberry 7y agoModules can still use GOPATH. If you have GOPATH defined when working with modules, they will be installed into the GOPATH in the pkg/mod/ directory.