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. |
Click to show internal directories.
Click to hide internal directories.