Help us shape the future of Go! Take the 2026 Go Developer Survey

repos/

directory
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: MIT

Directories

Path Synopsis
adapters
gorm
Package gorm is the GORM ORM adapter (repos/adapters/gorm): a lifecycle-managed opener for a *gorm.DB selected by Kind (lazily, in Start), so a consumer can put its repositories on GORM, or switch another persistence adapter it owns for this one, as a composition-root wiring change rather than a rewrite.
Package gorm is the GORM ORM adapter (repos/adapters/gorm): a lifecycle-managed opener for a *gorm.DB selected by Kind (lazily, in Start), so a consumer can put its repositories on GORM, or switch another persistence adapter it owns for this one, as a composition-root wiring change rather than a rewrite.
Package errors provides database error mapping to domain errors.
Package errors provides database error mapping to domain errors.
postgres
Package postgres provides PostgreSQL-specific DB error mapping.
Package postgres provides PostgreSQL-specific DB error mapping.
Package repository provides the BaseRepository implementation with decorator support and keyset pagination for building data access layers.
Package repository provides the BaseRepository implementation with decorator support and keyset pagination for building data access layers.
compiler
Package compiler selects the query-compiler backend for a configured Kind.
Package compiler selects the query-compiler backend for a configured Kind.
compiler/ent
Package ent is the Ent/SQL backend of the multi-target query-compilation SDK: it interprets the list-query IR into Ent dialect/sql predicates and order options — the func(*sql.Selector) shape every Ent query accepts via query.Where(predicate.T(pred)) and query.Order(opt).
Package ent is the Ent/SQL backend of the multi-target query-compilation SDK: it interprets the list-query IR into Ent dialect/sql predicates and order options — the func(*sql.Selector) shape every Ent query accepts via query.Where(predicate.T(pred)) and query.Order(opt).
decorators
Package decorators provides fluent decorator composition for repositories.
Package decorators provides fluent decorator composition for repositories.
entlist
Package entlist is the Ent glue shared by every app's ListRunner adapters: it folds a resolved-column ListSpec's predicates and ORDER BY into Ent query-node functions through the entcompiler QueryBackend.
Package entlist is the Ent glue shared by every app's ListRunner adapters: it folds a resolved-column ListSpec's predicates and ORDER BY into Ent query-node functions through the entcompiler QueryBackend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL