MSGO – Microservices in Go
Hexagonal Architecture (Ports & Adapter)
- loosely coupled
- interchangeable core application, UI, data objects, test
- flexible (e.g: can change database easily MySQL to MongoDB or any Database)
It might not be suitable for small application.
More information about this here
How to run ?
Forked and clone. cd inside the project.
go run .
Run test ?
go test -v ./dto
go test -v ./controller
go test -v ./service
With Docker ?