Hexagonal Architecture Demo
Practical implementation of Hexagonal Architecture (Ports and Adapters) in Go. A learning resource for building scalable, maintainable systems with clean architecture principles. Read the article Features Core business logic isolated from frameworks Multiple adapters: REST API (Gin), PostgreSQL, SQLite Unit tests for the core service layer Clear separation of concerns Technical Stack Go Clean Architecture Gin PostgreSQL Structure /internal /adapter /graphql /rest /repository (PostgreSQL, SQLite) /templates /core /entity /port /service Links GitHub • Article • Website ...