What is the best way to organize folders in echo? #1829
-
I'm starting to use echo and golang, I'm not sure how to organize folders and packages, any recommendation is welcome |
Beta Was this translation helpful? Give feedback.
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: |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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