dbx

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SQLiteMemory = iota
	SQLiteFile
	SQLiteDebug
)

Variables

This section is empty.

Functions

func ConfigFile

func ConfigFile(t testing.TB, values map[string]interface{}) string

Types

type DsnT

type DsnT struct {
	Name                   string
	Conn                   string
	MigrateUp, MigrateDown bool
}

func GetDSNs

func GetDSNs(t testing.TB, debugSqliteOnDisk bool) []*DsnT

func GetSqlite

func GetSqlite(t testing.TB, mode sqliteMode) *DsnT

Jump to

Keyboard shortcuts

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