4 ms·
Just a tip for those looking at trying out Go (and the author of the post): this repository, https://github.com/golang-standards/project-layout https://github.c
by biomcgary 6y ago
Just a tip for those looking at trying out Go (and the author of the post): this repository, https://github.com/golang-standards/project-layout https://github.com/golang-standards/project-layout, is NOT an official or standard Go folder structure. It's not necessarily bad, but it shouldn't be seen as Go's default folder structure. Too many newbies have gotten tripped up by the name.
- hactually 6y agoThis 1000 times over. The amount of harm that shitty project has done is insane. They only killed the `src` folder concept after much arguing. Use cmd/ for apps if your top level is a library otherwise don't. Use Internal for stuff you don't want exposed Vendor is deprecated. That's it.