What is the best way to organize folders in echo? #1829
Answered
by
aldas
DarioRoman01
asked this question in
Q&A
|
I'm starting to use echo and golang, I'm not sure how to organize folders and packages, any recommendation is welcome |
Answered by
aldas
Apr 2, 2021
Replies: 2 comments 1 reply
|
Start out by single package and split out different domains (by business/functional responsibility) as you application grows. This link https://rakyll.org/style-packages/ looks more like library designer but there are plenty of points that are relevant when building application. some other good links: |
1 reply
Answer selected by
aldas
|
This is not related to Echo but is good example how to build applications in Go https://github.com/benbjohnson/wtf There is nothing special about Echo it is just another "layer" in your application. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Start out by single package and split out different domains (by business/functional responsibility) as you application grows. This link https://rakyll.org/style-packages/ looks more like library designer but there are plenty of points that are relevant when building application.
some other good links:
https://dave.cheney.net/practical-go/presentations/qcon-china.html