sqlite

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBName = "krb.db"
)

Variables

View Source
var (
	ErrNoTransaction = errors.New("no transaction")
)

Functions

func New

func New(opts *Opts) db.SQLClient

New creates a new SQLite client. If opts.DSN is empty, it defaults to "krb.db" in the current directory. The input DNS is modified to ensure that foreign key constraints are enabled.

Types

type Opts

type Opts struct {
	DSN string
}

Jump to

Keyboard shortcuts

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