Versions in this module Expand all Collapse all v1 v1.0.0 Dec 23, 2021 Changes in this version + type Command struct + Args []interface{} + Query string + type Engine interface + Build func(Fixtures) ([]Command, error) + Exec func(cmds []Command) error + type Fixture struct + Rows []map[string]interface{} + Table string + type Fixtures []Fixture + func JSONParse(r io.Reader) (Fixtures, error) + func YAMLParse(r io.Reader) (Fixtures, error) + func (f Fixtures) Tables() []string + type Option func(*Populator) + func WithEngine(db Engine) Option + func WithParser(parser Parser) Option + type Parser func(r io.Reader) (Fixtures, error) + type Populator struct + func New(options ...Option) *Populator + func (p *Populator) From(content string) error + func (p *Populator) Load(file ...string) error