Versions in this module Expand all Collapse all v0 v0.1.0 Oct 8, 2026 Changes in this version + const LibcVersion + var ErrSnapshotRunning = errors.New("dbkit: another snapshot is writing into this folder") + func Classify(err error) error + func Migrate(ctx context.Context, db *sql.DB, m Migrations) (err error) + func NewSnapshotter(db *sql.DB) dbkit.Snapshotter + func Open(address string, opts Options) (*sql.DB, error) + func Rebuild(ctx context.Context, db *sql.DB, ...) (err error) + type Migrations struct + FS fs.FS + Go []*goose.Migration + LockPoll time.Duration + LockWait time.Duration + Table string + type Options struct + BaseFolder string + BusyTimeout time.Duration + CacheSize int + Create bool + Functions *dbkit.FunctionList + JournalSizeLimit *int64 + Logger *slog.Logger + MaxConns int + Synchronous Synchronous + type Synchronous int + const SynchronousFull + const SynchronousNormal