fixtures

package
v0.0.0-...-d25be1a Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DBSeedFixtures

func DBSeedFixtures(ctx context.Context, db *sql.DB, options ...ResolveFixtureOption) (*debefix.Data, error)

func MergeData

func MergeData(source *debefix.Data, mergeData []string) (*debefix.Data, error)

func MustResolveFixtures

func MustResolveFixtures(options ...ResolveFixtureOption) *debefix.Data

func ResolveFixtures

func ResolveFixtures(options ...ResolveFixtureOption) (*debefix.Data, error)

Types

type ResolveFixtureOption

type ResolveFixtureOption func(*resolveFixturesOptions)

func WithMergeData

func WithMergeData(data []string) ResolveFixtureOption

func WithOutput

func WithOutput(output bool) ResolveFixtureOption

func WithResolvedData

func WithResolvedData(data *debefix.Data) ResolveFixtureOption

func WithTags

func WithTags(tags []string) ResolveFixtureOption

Jump to

Keyboard shortcuts

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