Documentation ¶
Index ¶
- func DBSeedFixtures(ctx context.Context, db *sql.DB, options ...ResolveFixtureOption) (*debefix.Data, error)
- func MergeData(source *debefix.Data, mergeData []string) (*debefix.Data, error)
- func MustResolveFixtures(options ...ResolveFixtureOption) *debefix.Data
- func ResolveFixtures(options ...ResolveFixtureOption) (*debefix.Data, error)
- type ResolveFixtureOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBSeedFixtures ¶
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
Click to show internal directories.
Click to hide internal directories.