db

package
v0.0.0-...-1db2427 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func Connect

func Connect(driver, source string) error

Connect opens a database connection for the given driver and source. driver must match a registered database/sql driver name, e.g. "sqlite" (modernc), "mysql", "postgres".

Types

This section is empty.

Jump to

Keyboard shortcuts

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