Documentation ¶
Overview ¶
Package cltx is a small package for adding and retrieving pgx transactions from the context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pgx ¶ added in v0.19.1
Pgx returns the request scoped transaction initialized in the RWTransacter or ROTransacter middleware. If this was not done the function will panic.
func Tx ¶
Tx is a generic transaction reader to support various transaction types. E.g: Pgx, sql.Tx, Ent' model tx.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.