Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
func (*Helper) WithTracedTransaction ¶ added in v1.1.0
func (p *Helper) WithTracedTransaction(tag string, db *sqlx.DB, fn func(tx *sqlx.Tx) error) (err error)
Ends the given transaction. This method will either commit the transaction if the given recoverValue is nil, or rollback the transaction if it is non nil.
Click to show internal directories.
Click to hide internal directories.