Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTransaction ¶
WithTransaction execute [1...n] TxFn used one transaction The provided context is used until the transaction is committed or rolled back. If the context is canceled, the sql package will roll back the transaction. Tx.Commit will return an error if the context is canceled. TxOptions holds the transaction options to be used in DB.BeginTx.
Types ¶
Click to show internal directories.
Click to hide internal directories.