database

package
v0.0.0-...-ce43c02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package database opens the shared PostgreSQL connection pool used by commands and application packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, databaseURL string) (*sql.DB, error)

Connect opens a bounded pgx-backed database/sql pool and verifies the connection before returning it. The caller owns the returned pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL