# ThreeDotsLabs/wild-workouts-go-ddd-example

Go DDD example application. Complete project to show how to apply DDD, Clean Architecture, and CQRS by practical refactoring.

Repository: https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-example
Canonical: https://ross.abutalabs.com/products/wild-workouts-go-ddd-example
Homepage: https://threedots.tech
Language: Go
License: MIT
License Family: permissive
Topics: go, golang, ddd, clean-architecture, hexagonal-architecture, cqrs, refactoring, google-cloud, serverless, firebase, firestore, terraform, gcp
Last push: 2026-08-25T16:48:37+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 2310, "days_push": 8, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6431, forks 586 (observed 2026-08-28T04:09:43.379416+00:00)

## What it is
A complete example Go application (Wild Workouts) demonstrating Domain-Driven Design, Clean Architecture, and CQRS through incremental refactoring. It accompanies a series of in-depth articles and an e-book by Three Dots Labs on building maintainable Go business applications.

## Use cases
- learn domain-driven design in go
- example of clean architecture in golang
- how to apply cqrs in go
- refactor a go application to hexagonal architecture
- serverless go app with cloud run and firebase
- terraform setup for go microservices on gcp
- repository pattern example in go

## When to choose
- you want a practical, article-backed reference for DDD/Clean Architecture/CQRS in Go
- you are building a Go web application or microservices and want proven architectural patterns
- you learn best by studying a real refactored codebase

## When to avoid
- you need a production-ready framework or library to drop into your project - it is an example, not reusable code
- you are not working in Go
- you want a quick tutorial without reading the accompanying articles

## Facets
- artifact type: learning-resource
- maturity: active
- function: web-framework, rpc, auth, infrastructure-as-code, testing
- domain: developer-tools, tutorials, backend, web-development, apis
- platform: go, cloud, serverless
- tags: ddd, clean-architecture, cqrs, hexagonal-architecture, example-application, refactoring, firestore, cloud-run, terraform, grpc, docker

## Member repositories
- ThreeDotsLabs/wild-workouts-go-ddd-example (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:43.379416+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:44:52.505030+00:00, confidence not recorded.
  - readme: https://github.com/ThreeDotsLabs/wild-workouts-go-ddd-example (fetched 2026-08-28T04:09:43.379416+00:00, sha 804d01146999)
  - homepage: https://threedots.tech (fetched 2026-08-29T08:41:36.898750+00:00, sha d979d1b66332)
  - site_page: https://threedots.tech/about (fetched 2026-08-29T08:41:36.915002+00:00, sha dd20c48269af)
  - site_page: https://threedots.tech/post (fetched 2026-08-29T08:41:36.907681+00:00, sha 996c6b61e446)
  - site_page: https://threedots.tech/go-with-the-domain (fetched 2026-08-29T08:41:36.909492+00:00, sha e6c0f68baedf)
  - site_page: https://threedots.tech/post/common-anti-patterns-in-go-web-applications (fetched 2026-08-29T08:41:36.911128+00:00, sha 95759f796dbc)
  - site_page: https://threedots.tech/no-silver-bullet (fetched 2026-08-29T08:41:36.913515+00:00, sha d6d0539de068)
- Data as of 2026-08-30T08:39:29.467469+00:00.
