Foundation
Craft
Project
07
Git Flow & Commits
Branch strategy and commit conventions for CLM projects
⏱ 20 min
08
File Structure
Annotated repo layout — where to add handlers, services, repos
⏱ 5 min
09
Libraries & Integrations
Fiber, GORM, MongoDB, Redis, Kafka, ECI, Viper, retry, rate limit, transactions
⏱ 10 min
10
Project Standards
Handler→Service→Repo rules, Fiber patterns, repository interfaces, DI, zlog
⏱ 8 min
11
Life Cycle
main.go → middleware chain → handler → response. Graceful shutdown.
⏱ 25 min
12
Dev Environment
Clone, .env setup, make run/build/tidy, docker-compose up — first run checklist
⏱ 6 min
13
Testing
Unit tests with mock repositories, table-driven tests, make test-coverage
⏱ 6 min
14
Build & Deploy
make build, Dockerfile, GitLab CI, blue/green deployment strategy
⏱ 18 min
15
Change Data Capture
CDC concepts, Kafka JDBC sink connector, DB→topic pipeline, failure modes
⏱ 12 min