3 ms·
The author talks about monorepos. I was wondering a few days ago how a monorepo could be implemented in a Go project using GOPATH and “go build/install” to buil
by haolez 7y ago
The author talks about monorepos. I was wondering a few days ago how a monorepo could be implemented in a Go project using GOPATH and “go build/install” to build the software. The dependency manager seems to rely on cloning other repos into the workspace.
Does anyone know about a reference repo that I could take a peek?
- bvinc 7y agoJust embed the gopath directory inside of the repo. Use makefiles and project files that set the gopath for you. My understanding is that Google does this internally, which is why gopath works the way it does. It's meant for monorepos.