package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Sep 29, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Factory interface {
Create() (interface{}, error)
Patch(v interface{}) (interface{}, error)
MustCreate(t testing.TB) interface{}
MustPatch(t testing.TB, v interface{}) interface{}
}
Factory defines methods to create and patch arbitrary structs.
New returns a new Factory.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.