package
0.0.0-20240902121557-ded4e7068ebd
Repository: https://github.com/andredubov/golibs.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Query wrapper above the query, storing the query name and the query itself The request name is used for logging and can potentially be used somewhere else, for example, for tracking.
# Interfaces
Client a client for working with a database.
Database interface for working with a database.
NamedExecer interface for working with named queries using tags in structures.
Pinger interface for checking database connection.
QueryExecer interface for working with regular queries.
SQLExecer combines NamedExecer and QueryExecer.
Transactor is a transaction manager that executes a user-specified handler in a transaction.
TxManager is a transaction manager that executes a user-specified handler in a transaction.
# Type aliases
Handler is a function that is executed in a transaction.