Hacker News new | ask | show | jobs
by Dobbs 2475 days ago
Google is pretty notorious for this. It is one of the reasons behind the old golang GOPATH setup, and one of the reasons it took so long for the Go taking so long to get modules.
1 comments

I'm not sure that's true. The layout of Go code in Google's monorepo is not at all similar to GOPATH, and patterns that are common within google3 (such as multiple Go packages in one directory) are fundamentally incompatible with the Go build system. As an ex-Googler, I still strongly prefer the google3 style and am annoyed when open-source Go tooling can't deal with it properly.
what is google3 style?
I think it's the mentioned

> multiple Go packages in one directory

as opposed to having a 1:1 package:dir mapping