db

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Database *sqlx.DB = nil

Functions

func Cleanup

func Cleanup()

func InitDB

func InitDB(driver DatabaseDriver)

Types

type DatabaseDriver added in v0.4.0

type DatabaseDriver string
const (
	Postgres DatabaseDriver = "postgres"
	MySQL    DatabaseDriver = "mysql"
	Turso    DatabaseDriver = "libsql"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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