package
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Apr 13, 2026
License: AGPL-3.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
¶
Package database provides shared database connectivity utilities.
Connect opens a Postgres connection, applies pool settings, and pings the
database to verify connectivity.
The caller is responsible for closing the returned *sql.DB.
TODO: import a driver (e.g. github.com/jackc/pgx/v5/stdlib) before calling.
Config holds Postgres connection parameters.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.