db

package
v0.0.0-...-676fa8b Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package db wires up the SQLite connection and runs migrations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(path string) (*sql.DB, error)

Open runs any pending migrations and returns a long-lived SQLite connection configured with WAL journaling and the standard pragmas.

Migrations run on a throwaway connection because the migrate driver's Close closes the underlying *sql.DB.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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