Skip to content
CAI
Software that uses CAICheck a score

yezarela/go-lambda

59.7

Adequate · 8 November 2026

581

lines of production code

Go

primary language

7

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a Go-based AWS Lambda application designed for user management, structured using clean architecture principles. It exposes RESTful endpoints via API Gateway to create new user accounts and retrieve paginated, sorted lists of existing users. The backend persists data to a MySQL database and includes infrastructure for local development and automated deployment.

Features

Initial project scaffolding for Go AWS Lambda application

This change introduces the foundational structure for a Go-based AWS Lambda project using the Serverless Application Model (SAM). It includes a Makefile to automate building, testing, and deploying Lambda functions (HelloWorld, UserList, UserCreate) via AWS SAM, along with a CloudFormation template defining the API Gateway, Lambda execution roles, and function resources. The setup also provides a local development environment via Docker Compose (MySQL 5.7), environment configuration files, and a .gitignore to manage build artifacts and dependencies.

(repo-wide) · high confidence

Introduction of domain models and interfaces for user management

The domain layer now defines the core data structures and contracts for user operations. This includes the User entity with ID, name, email, and timestamps, along with ListUserParams for query configuration. Standard error types (ErrNotFound, ErrConflict, ErrInvalidParameters) are established for consistent error handling. Additionally, UserRepository and UserUsecase interfaces are introduced to define the contract for user CRUD operations, supported by generated mocks to facilitate testing.

domain · high confidence

User management API with clean architecture and MySQL support

The application now exposes user management capabilities through AWS Lambda handlers, implementing a clean architecture pattern. Users can create new accounts via the user-create handler, which validates input (name, email) and persists data to a MySQL database, and retrieve paginated, sorted lists of users via the user-list handler. The infrastructure layer includes a new MySQL connection utility and standardized API response helpers for consistent error handling and status codes. Unit tests have been added for the Lambda handlers and repository layer to verify request processing and database interactions.

infra, user, utils · high confidence

Dependencies

Initial dependency setup for Go Lambda project

The project now includes a go.mod and go.sum file, establishing the initial set of dependencies required to build and run the application. This includes the AWS Lambda Go runtime, the MySQL driver, validation libraries, error handling utilities, and testing frameworks such as testify and go-sqlmock.

(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 60 → 60 (-0.1)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 78 → 78 (+0.0)
  • Architecture 69 → 69 (+0.0)
  • Maturity 56 → 56 (+0.0)
  • Readiness 53 → 53 (+0.0)
  • Security 92 → 89 (-3.3)

Resolved (3)

  • Documentation: no installation or build instructions (README.md)
  • Documentation: no project overview (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

yezarela/go-lambda 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 39cf38f0b89d3dc986854d42f103da799c48dab0 — 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.