Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommitRollbacker ¶
type Tx ¶
type Tx[T CommitRollbacker] struct { // contains filtered or unexported fields }
func WrapTx ¶
func WrapTx[T CommitRollbacker](v T) *Tx[T]
WrapTx wraps *ent.Tx, preventing a rollback once tx was committed.
Click to show internal directories.
Click to hide internal directories.