sqlite

package
v0.0.0-...-7f120fd Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB represents a SQLite database connection.

func NewDB

func NewDB(path string, logger *slog.Logger) *DB

NewDB returns a new instance of DB.

func (*DB) Open

func (db *DB) Open() (err error)

Open opens reading and writing database connections and executes any outstanding database migrations.

Jump to

Keyboard shortcuts

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