Versions in this module Expand all Collapse all v3 v3.6.0 Sep 22, 2020 Changes in this version + func DangerousSkipTestDatabaseCheck() func(*Loader) error + func Database(db *sql.DB) func(*Loader) error + func Dialect(dialect string) func(*Loader) error + func Directory(dir string) func(*Loader) error + func DumpDatabase(db *sql.DB) func(*Dumper) error + func DumpDialect(dialect string) func(*Dumper) error + func DumpDirectory(dir string) func(*Dumper) error + func DumpTables(tables ...string) func(*Dumper) error + func Files(files ...string) func(*Loader) error + func Location(location *time.Location) func(*Loader) error + func Paths(paths ...string) func(*Loader) error + func ResetSequencesTo(value int64) func(*Loader) error + func SkipResetSequences() func(*Loader) error + func Template() func(*Loader) error + func TemplateData(data interface{}) func(*Loader) error + func TemplateDelims(left, right string) func(*Loader) error + func TemplateFuncs(funcs template.FuncMap) func(*Loader) error + func TemplateOptions(options ...string) func(*Loader) error + func UseAlterConstraint() func(*Loader) error + func UseDropConstraint() func(*Loader) error + type Dumper struct + func NewDumper(options ...func(*Dumper) error) (*Dumper, error) + func (d *Dumper) Dump() error + type InsertError struct + Err error + File string + Index int + Params []interface{} + SQL string + func (e *InsertError) Error() string + type Loader struct + func New(options ...func(*Loader) error) (*Loader, error) + func (l *Loader) EnsureTestDatabase() error + func (l *Loader) Load() error Other modules containing this package github.com/kangoo13/testfixtures