News for hackers. Stuff that matters.
Re:Just tell me how to use Go Modules by andreygrehov on Tuesday December 11, 2018 @11:28AM (#18656406)
> How you structure your code beyond the src/git/path/your-code/ is completely up to you and every repo you visit could be different.

Erm...I'm confused. Why on earth every repo should have the same structure? I mean, I understand when you use a framework that prescribes you a layout, but even so, good frameworks try not to get into developer's way. Why the source code of a webapp should have the same structure as a, say, database? There were quite a few comments about standard project layout - I'm sure there is something similar for every language, but these things are just recommendations. And thank god they are not rules. Am I missing something here?

Re:Just tell me how to use Go Modules by oblio on Thursday December 13, 2018 @09:26AM (#18672469)
Yes. Having a common overall structure is good.

When I open a Maven project, the Java sources are always (99,99% of the time) in src/main/java, the resources are in /src/main/resources, the Java test sources are in src/test/java, etc.

Every project has to have source code, every project could have resources. Every project could have test sources, etc.