Versions in this module Expand all Collapse all v0 v0.0.3 Mar 15, 2026 v0.0.2 Mar 15, 2026 Changes in this version + type Comparable uint8 + const Eq + const Gt + const Gte + const IN + const LIKE + const Lt + const Lte + const Neq + func (i Comparable) String() string + type Counter interface + Count func(ctx context.Context, filters ...*Filter) (int, error) + type Filter struct + ColumnName string + Comparable Comparable + Value string + func NewFilter(columnName string, value string, comparable Comparable) *Filter + type Page struct + Limit uint32 + Number uint64 + func NewPage(number uint64, limit uint32) *Page + type Pager interface + Page func(ctx context.Context, page *Page, sorts []*Sort, filters ...*Filter) ([]T, error) + type Repository interface + type Sort struct + ColumnName string + Direction SortDirection + func NewSort(columnName string, direction SortDirection) *Sort + type SortDirection uint8 + const ASC + const DESC + func (i SortDirection) String() string