storage

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package storage opens and migrates Pitcrew's local SQLite database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

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

Open opens the database, configures SQLite, and applies technical migrations.

func OpenReadOnly added in v0.2.0

func OpenReadOnly(ctx context.Context, path string) (*sql.DB, error)

OpenReadOnly opens an existing, fully migrated Pitcrew database without creating directories, changing permissions, or applying migrations.

Types

This section is empty.

Jump to

Keyboard shortcuts

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