store

package
v0.0.0-...-6e61812 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLiteStorage

func NewSQLiteStorage(dbFile string) (*sql.DB, error)

NewSQLiteStorage opens a connection to the SQLite database

Types

type Storage

type Storage struct {
	DB          *sql.DB
	Queries     *database.Queries
	Collections *config.CollectionConfig
}

func NewStore

func NewStore(db *sql.DB, queries *database.Queries, collections *config.CollectionConfig) *Storage

Jump to

Keyboard shortcuts

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