database

package
v0.7.23 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTables

func InitTables(db *sql.DB) error

InitTables creates the tables

Types

type SQLiteConfig

type SQLiteConfig struct {
	File string
}

SQLiteConfig represents sqlite configuration type

func (SQLiteConfig) Open

func (d SQLiteConfig) Open() (*sql.DB, error)

Open receives handle for sqlite database, returns an error if connection failed

Jump to

Keyboard shortcuts

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