Versions in this module Expand all Collapse all v0 v0.8.0 Oct 18, 2026 Changes in this version + var ErrEmptySequence = errors.New("numbering: empty context or name") + var ErrNoTenant = errors.New("numbering: no tenant in context") + type InMemoryStore struct + func NewInMemoryStore() *InMemoryStore + func (s *InMemoryStore) Next(ctx context.Context, seq Sequence) (int64, error) + type PgOption func(*PgStore) + func WithSchema(schema string) PgOption + type PgStore struct + func NewPgStore(pool *pgxpool.Pool, opts ...PgOption) *PgStore + func (s *PgStore) Next(ctx context.Context, seq Sequence) (int64, error) + type Sequence struct + Context string + Name string