fixture

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(mods ...genericFixtureModifier) gdttypes.Fixture

New returns a new generic Fixture

func WithStarter

func WithStarter(starter func()) genericFixtureModifier

WithStarter allows a starter functor to be adapted into a fixture

func WithState

func WithState(state map[string]interface{}) genericFixtureModifier

WithState allows a map of state key/values to be adapted into a fixture

func WithStopper

func WithStopper(stopper func()) genericFixtureModifier

WithStopper allows a stopper functor to be adapted into a fixture

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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