database

package
v0.0.0-...-f4335ee Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMigrations

func CreateMigrations(DBName string, DB *sql.DB) error

func GetConnection

func GetConnection(dbName string) (*sql.DB, error)

Types

type DatabaseStore

type DatabaseStore struct {
	DB *sql.DB
}

func NewDatabaseStore

func NewDatabaseStore(path string) (DatabaseStore, error)

Jump to

Keyboard shortcuts

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