New comment by nilium on void-packages repository https://github.com/void-linux/void-packages/pull/29434#issuecomment-964556540 Comment: > @nilium is it Go upstream style guide or Void one to have `go.mod` at the root of the project? The short answer to this is that it's both. There is limited support for projects with further nested go.mod files as far as Go is concerned but there's never been a reason to support them in the build style. To the best of my knowledge, this is also the only instance I've seen of a project being organized this way, so I'm going to say that it does not fit the build style or expectations of Go in general, and that it would require special handling in the build script.