Categorygithub.com/kucjac/cleango/database/xsql
modulepackage
0.1.0
Repository: https://github.com/kucjac/cleango.git
Documentation: pkg.go.dev

# Functions

Connect establish a new database connection using provided driverName and given dataSourceName (DSN).
RunInTransaction executes given function based on provided 'db' within a transaction.

# Structs

Config is the configuration for the database connection.
Conn is the database connection.
Stmt is the xsql type wrapper for the sqlx.Stmt.
Tx is the database connection.

# Interfaces

DB is the common interface for both the Conn and Tx.

# Type aliases

Row is the row type wrapper of the sqlx.Row.
Rows is the simple type wrapper for the sqlx.Rows that provides minor enhancement.