Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityFaker ¶
type EntityFaker[T common.EntityConstraint] interface { Any() T Create() T }
type UserFaker ¶
type UserFaker struct { common.Entity ID uint Name string Email string Age uint8 Birthday time.Time CreatedAt time.Time UpdatedAt time.Time // contains filtered or unexported fields }
func NewUserFaker ¶
func NewUserFaker(faker *gofakeit.Faker) *UserFaker
func UserWithFaker ¶
func UserWithFaker(faker *gofakeit.Faker) *UserFaker
Click to show internal directories.
Click to hide internal directories.