Versions in this module Expand all Collapse all v1 v1.0.0 Feb 19, 2023 Changes in this version + type OpenDB func() (client *sql.DB, autoClose bool, err error) + type Option = internal.Option + func WithH28Verifier(cb func(h28 int64) error) Option + func WithObfuscation(seed int) Option + func WithSection(section int8) Option + func WithStep(step int64, floor int64) Option + type WUID struct + func NewWUID(name string, logger slog.Logger, opts ...Option) *WUID + func (w *WUID) LoadH28FromMysql(openDB OpenDB, table string) error + func (w *WUID) Next() int64 + func (w *WUID) RenewNow() error