database

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadDDL

func LoadDDL() (string, error)

func Open

func Open(ctx context.Context, ddl string) (*sqlc.Queries, *sql.DB, error)

Open opens (or creates) the SQLite database and returns ready-to-use Queries and the underlying connection.

func SetupTestDB

func SetupTestDB(t *testing.T) *sqlc.Queries

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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