Skip to content

GORM Overview

ss-keel-gorm is the official relational persistence addon for Keel.

Current stable release: v1.7.0 (2026-04-22)

  • database.New(...) for typed database bootstrap.
  • database.GormRepository[T, ID] implementing the shared repository contract.
  • database.EntityBase for common persistence fields.
  • database.NewHealthChecker(...) for /health.
  • Support for PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, and custom dialectors.

The addon implements the same persistence contract used across Keel:

contracts.Repository[T, ID, httpx.PageQuery, httpx.Page[T]]
  • SQL-first services with relational data.
  • Projects that want a generated bootstrap plus GORM access.
  • Apps that need a standard repository contract with room for custom queries.