Documentation
¶
Overview ¶
Package database provides database connection management and query session creation across supported SQL backends.
It opens and configures *sql.DB connection pools from a DataSourceName, resolves the configured database type to a driver, and builds upper/db query sessions via the mysqldriver and postgresdriver subpackages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataSourceName ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package migrations provides database migration utilities built on top of golang-migrate.
|
Package migrations provides database migration utilities built on top of golang-migrate. |
|
Package mysqldriver provides MySQL-specific helpers for the database layer.
|
Package mysqldriver provides MySQL-specific helpers for the database layer. |
|
Package postgresdriver provides PostgreSQL-specific helpers for the database layer.
|
Package postgresdriver provides PostgreSQL-specific helpers for the database layer. |
Click to show internal directories.
Click to hide internal directories.