bmf-san/go-clean-architecture-web-application-boilerplate
48.0
Weak · 8 November 2026
595
lines of production code
Go
primary language
7
measurements over time
What this system is
This is a Go-based web application built on a Clean Architecture, designed to manage users and their posts. It provides a complete backend stack that handles HTTP routing, database connectivity to MySQL, and structured logging. The system exposes controllers and repositories to interact with user and post data, supported by Dockerized development and production environments.
Features
Added infrastructure layer for environment, logging, routing, and database handling
The app/infrastructure directory now contains the concrete implementations for core application concerns. Environment variables are loaded from a .env file, with a fix to correctly parse values containing the '=' character. A new Logger implementation writes error and access logs to separate files and stdout. The router is configured using the Chi framework, mapping HTTP endpoints for users and posts to their respective controllers. Finally, a SQLHandler provides database connectivity and transaction management, reading connection details from environment variables.
app/infrastructure · high confidence
Initial database schema and domain models for users and posts
The application now includes the foundational database schema and domain models for users and posts. The database layer introduces a new SQL migration defining 'users' and 'posts' tables, along with seed data for testing. The domain layer adds Go structs for 'User' and 'Post', establishing the core data models for the application's content and authorship.
app/database, app/domain, app/log · high confidence
Initial project scaffolding with Go Clean Architecture and Docker support
The application is initialized with a Go-based Clean Architecture structure, including a main entry point that sets up logging, database connectivity, and dispatching. A .env\_example file provides default configuration for MySQL, and a .realize.yaml file configures the Go development environment. Additionally, Dockerfiles are added for the Go application and a MySQL 5.7 database container, along with a MySQL configuration file to enforce UTF-8 character sets.
app, docker · high confidence
Introduce Post and User controllers and repositories for the interface layer
The application now includes concrete implementations for handling Posts and Users at the interface layer. This adds PostController and UserController to manage HTTP requests, delegating to PostInteractor and UserInteractor respectively. It also introduces PostRepository and UserRepository to handle SQL operations for Posts and Users, along with the necessary SQLHandler interfaces to abstract database interactions.
app/interfaces · high confidence
Dependencies
Initial Go module and dependency setup
Added go.mod and go.sum files to establish the Go module for the project, defining the module path and initial dependencies including go-chi v4.0.2, go-sql-driver/mysql v1.4.1, and google.golang.org/appengine v1.6.5.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 49 → 48 (-0.5)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 85 → 85 (+0.0)
- Architecture 69 → 69 (+0.0)
- Maturity 61 → 59 (-1.5)
- Readiness 25 → 25 (+0.0)
- Security 94 → 92 (-2.2)
Resolved (4)
- Documentation: no contributor guidance (README.md)
- Documentation: no installation or build instructions (README.md)
- Documentation: no licence statement (README.md)
- Documentation: no usage examples (README.md)
New (2)
- High interface indirection
- Scattered collaborators
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
bmf-san/go-clean-architecture-web-application-boilerplate 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 a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 9417b80e7303f8409f3ae9812fee922b44621df5 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.