Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityFactory ¶
type EntityFactory[T common.EntityConstraint, U fakers.EntityFaker[T]] interface { Any() (*T, error) Many(numberOfEntities int) ([]T, error) Given(entity T) (*T, error) // TODO, pass faker? }
type UserFactory ¶
type UserFactory struct {
// contains filtered or unexported fields
}
func NewUserFactory ¶
func NewUserFactory(userRepository pUser.UserRepository) *UserFactory
Click to show internal directories.
Click to hide internal directories.