sqlite

package
v0.0.0-...-f0f3182 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	DB *sql.DB
}

Database represents a SQLite database

func NewDatabase

func NewDatabase(conStr string) (*Database, error)

NewDatabase creates a SQLite connection and then runs any applicable migrations or seeders.

Jump to

Keyboard shortcuts

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