db

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

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

Open opens (or creates) the SQLite database at dataDir/data.db. It enables WAL mode for concurrent reads and runs migrations.

func OpenMemory

func OpenMemory() (*sql.DB, error)

OpenMemory opens an in-memory SQLite database for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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