Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Golang Standard Project Layout #3

Open
oswee opened this issue Jun 10, 2019 · 1 comment
Open

Golang Standard Project Layout #3

oswee opened this issue Jun 10, 2019 · 1 comment

Comments

@oswee
Copy link

oswee commented Jun 10, 2019

Would love to see, how to organize multiple command, handler, denormalizer, query and websocket services under Golang Standard Project Layout. GitHub
Can't figure out, how to better organize code of 100+ (i mean more than 10) or so services.

@tinrab
Copy link
Owner

tinrab commented Jun 11, 2019

Most of the code would be under internal directory. app/ for specific use cases and pkg/ for cross-cutting packages. You could use wire for constructing services with many dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant