Documentation ¶
Index ¶
- type DB
- func (db *DB) BeginFn(fn func(tx *sql.Tx) error) error
- func (db *DB) BeginTxFn(ctx context.Context, opts *sql.TxOptions, fn func(tx *sql.Tx) error) (err error)
- func (db *DB) MustBegin() *sql.Tx
- func (db *DB) MustBeginFn(fn func(tx *sql.Tx) error)
- func (db *DB) MustBeginTx(ctx context.Context, opts *sql.TxOptions) *sql.Tx
- func (db *DB) MustBeginTxFn(ctx context.Context, opts *sql.TxOptions, fn func(tx *sql.Tx) error)
- type Execer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.