Achieving maintainability with hexagonal architecture
summary
Claim: hexagonal architecture makes Go apps maintainable, testable and easy to change. It uses dependency injection and interfaces so the domain defines ports and outer layers supply adapters (HTTP, database). Typical designs expose 3–5 ports. Concrete outcomes: unit-heavy domain tests, a few end-to-end UI tests, easy swapping of MySQL for NoSQL, and a code layout that keeps business logic isolated and cheaply verifiable.
AI-written summary · about
chapters (4)
related talks
37mTDD and Hexagonal Architecture in Microservices
25mHexagonal Architecture in Monoliths and Microservices
44mHow Do You Structure Your Go Apps?
46mHexagonal at Scale, with DDD and microservices!
46mHexagonal Architecture in Practice
30mFrom Chaos to Domain Driven Design
51mArchitecture in Go and What Rust Has to Do with It
34mAdvanced Testing Techniques in Go
