
Clean Architecture in Go
This is my humble version of how to structure a GO application.
Link to my article (currently only in spanish) about "How to structure a Go Application".
In order to demonstrate my idea with a simple example application, I created this API which handles messages.
Frameworks
The example uses the following frameworks:
Run
Clone the repository and execute the following command on the root folder
go run main.go
Test
go test ./...
Backlog
This is a work in progress. There's still a lot of work to do. PRs are welcome :)
- Add (a LOT) of unit tests
- Use
Context
type to pass parameters across different layers
- Add an example of database handler module