Documentation ¶ Index ¶ type Before type Builder type DB func New(config orm.Config) (*DB, error) func (db *DB) Before(ctx context.Context, fns ...Before) error func (db *DB) Close() error func (db *DB) Connector(builder Builder) orm.Connector Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Before ¶ type Before func(ctx context.Context, drv *sql.Driver) (err error) type Builder ¶ type Builder func(drv *sql.Driver, config orm.Config) (any, error) type DB ¶ type DB struct { // contains filtered or unexported fields } func New ¶ func New(config orm.Config) (*DB, error) func (*DB) Before ¶ func (db *DB) Before(ctx context.Context, fns ...Before) error func (*DB) Close ¶ func (db *DB) Close() error func (*DB) Connector ¶ func (db *DB) Connector(builder Builder) orm.Connector Source Files ¶ View all Source files builds.go conn.go db.go Directories ¶ Show internal Expand all Path Synopsis mixin Package mixin is the mixin package Package mixin is the mixin package Click to show internal directories. Click to hide internal directories.