This is a PoC that proves that is possible to write well-structured code with Golang and Fiber using the clean architecture pattern.
- Generate a common structure for all the team.
- The onboarding of new developers will become easier.
- It would be most testable and extensible.
- Can easily separate without major pains.
- src/< domain >: Like product, contains 3 folders:
- domain: contains the contracts errors and entities
- infrastructure: contains all the external integration implementations, like API's, databases, etc, typically based on a contract in the domain
- usecase: orchestrate the flow of the data between the outside layer and the entities.
- Fiber A framework inspired on express
- Google Go apis A set of resources to work with google tools, in this case we use sheets for database