sqlite

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	DB *sql.DB
}

Store is the SQLite implementation of store.Store.

func Open

func Open(home string) (*Store, error)

Open opens a SQLite database at home/protected/db.sqlite and runs migrations.

func (*Store) Close

func (s *Store) Close() error

func (*Store) Migrate

func (s *Store) Migrate(ctx context.Context) error

Jump to

Keyboard shortcuts

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