Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Transactor ¶
type Transactor struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *sqlx.DB) *Transactor
func (*Transactor) WithinTransaction ¶
func (tr *Transactor) WithinTransaction( ctx context.Context, f func(ctx context.Context) error, ) error
TODO: add transaction options
Click to show internal directories.
Click to hide internal directories.