fixtures

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Postgres
	Mysql
)
View Source
const (
	PostgresParam = "postgres"
	MysqlParam    = "mysql"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DB       *sql.DB
	DbType   DbType
	Location string
	Debug    bool
}

type DbType

type DbType int

func FetchDbType

func FetchDbType(dbType string) DbType

type Loader

type Loader interface {
	Load(names []string) error
}

func NewLoader

func NewLoader(cfg *Config) Loader

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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