package
0.0.0-20210504081155-40c8b04bd990
Repository: https://github.com/phaesoo/keybox.git
Documentation: pkg.go.dev

# Functions

NewDB returns connected Client.
WithTransaction creates a new transaction and handles rollback/commit based on the error object returned by the `TxFn`.

# Interfaces

Transaction is an interface that models the standard transaction in `database/sql`.

# Type aliases

No description provided by the author
A Txfn is a function that will be called with an initialized `Transaction` object that can be used for executing statements and queries against a database.