Versions in this module Expand all Collapse all v2 v2.0.0 Dec 22, 2023 Changes in this version + var ErrAlreadyUsed = errors.New("query already used") + type Driver interface + Begin func(ctx context.Context, opts ...Option[CONFIG]) (Session[BUILDER], error) + type Octobe struct + func New[DRIVER any, CONFIG any, BUILDER any](init Open[DRIVER, CONFIG, BUILDER]) (*Octobe[DRIVER, CONFIG, BUILDER], error) + func (ob *Octobe[DRIVER, CONFIG, BUILDER]) Begin(ctx context.Context, opts ...Option[CONFIG]) (Session[BUILDER], error) + type Open func() (Driver[DRIVER, CONFIG, BUILDER], error) + type Option func(cfg *CONFIG) + type Session interface + Builder func() BUILDER + Commit func() error + Rollback func() error + WatchRollback func(func() error) + type Void *struct Other modules containing this package github.com/Kansuler/octobe