Style guide for golang project file structure

Highly recommended.
It has a couple of odds like not explaining about /test dir (I assume, they wanted to say to put there only e2e and other integrational tests, not unit-test as the latter should be kept together with the code itself in files like …_test.go). But it’s awesome in general.

https://github.com/golang-standards/project-layout

Similar Posts

LEAVE A COMMENT