db

package
v0.1.0-alpha.19 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DIALECT = "sqlite3"
View Source
const MEMORY_DSN = ":memory:?cache=shared"

Variables

This section is empty.

Functions

func Migrate

func Migrate(conn *sql.DB) (int, error)

Types

type DB

type DB struct {
	Sqlx *sqlx.DB
}

func New

func New(dsn string) (*DB, error)

Jump to

Keyboard shortcuts

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