Versions in this module Expand all Collapse all v1 v1.1.0 Sep 28, 2026 v1.0.0 Sep 22, 2026 Changes in this version + type Sequence struct + IncrementBy int64 + Value int64 + type Service struct + func New(db *sql.DB, tx ...*sql.Tx) *Service + func (s *Service) Allocate(ctx context.Context, table string, dest any, selector string) error + func (s *Service) Reserve(ctx context.Context, table string, dest any, selector string) error + func (s *Service) WithStrategy(strategy dialect.PresetIDStrategy) *Service + type Walker struct + func NewWalker(value interface{}, selectors []string) (*Walker, error) + func (w *Walker) Allocate(value interface{}, seq *Sequence) error + func (w *Walker) CountEmpty(value interface{}) (int, error) + func (w *Walker) EmptyLeaf(value interface{}) (interface{}, error) + func (w *Walker) Leaf(value interface{}) (interface{}, error)