The highest tagged major version is
v4 .
Discover Packages
github.com/aatuh/api-toolkit/contrib/v2
integrations
txpostgres
package
Version:
v2.1.0
Opens a new window with list of versions in this module.
Published: May 2, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package txpostgres provides convenience wiring around the Postgres transaction adapter.
The package aliases transaction helpers for applications that want short import
paths during bootstrap. Missing pool wiring fails closed through the underlying
adapter rather than panicking.
AsPgError converts an error to a pgconn.PgError when possible.
IsNoRows reports whether the error is pgx.ErrNoRows.
New constructs a transaction manager over a pgx pool.
DBer aliases the transaction-aware query interface.
FromCtx retrieves the active connection/tx from context.
Manager aliases the transaction manager type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.