Skip to content
CAI
Produce a survey ↗Verify a survey

sklinkert/go-ddd

This system is a Go-based microservice template implementing Domain-Driven Design (DDD) and CQRS patterns for managing products and sellers. It provides a complete operational scaffold, including REST APIs, database migrations, and testing infrastructure, to facilitate the development of scalable, type-safe Go applications. The architecture enforces strict separation between domain entities and external interfaces using DTOs and mappers, while ensuring data integrity through idempotent operations and transactional outbox event sourcing.

70.9

Strong · 3 August 2026

2.6k

lines of production code

Go

primary language

1

bus factor · 3 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2023 · Go DDD template scaffolding and CQRS implementation

This period focused on establishing a complete Go Domain-Driven Design template, including infrastructure tooling, documentation, and a REST API layer. The implementation introduced CQRS patterns with idempotency support, replacing GORM with sqlc for data access and defining domain entities and application services for products and sellers.

12 changes

2024–2025 · API layer and data model refinement

This period focused on decoupling the API layer from the domain model by introducing explicit request and response DTOs for products and sellers. The work also updated the database schema to support soft deletes, robust money handling, and event sourcing via a transactional outbox pattern.

7 changes

CAI lens gauges

Survey your own repository

sklinkert/go-ddd was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit cd85d7800d — the exact code this score is about.
  • Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.
CAI link cards