Documentation
¶
Index ¶
- func Generator[T any](amount int, value func() T) []T
- func New[M ~struct{ ... }]() *M
- type Mother
- func (m *Mother) Email() string
- func (*Mother) ID() string
- func (m *Mother) Join(values []string, separator string) string
- func (m *Mother) Letters(amount int) []string
- func (m *Mother) Message() string
- func (m *Mother) StructRandomize(value any)
- func (m *Mother) TimeNow() time.Time
- func (m *Mother) TimeRandomAfter(actual time.Time) time.Time
- func (m *Mother) TimeRandomBefore(actual time.Time) time.Time
- func (m *Mother) TimeSetAfter(actual time.Time, min, max time.Duration) time.Time
- func (m *Mother) TimeSetBefore(actual time.Time, min, max time.Duration) time.Time
- func (m *Mother) Words(amount int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mother ¶
func (*Mother) StructRandomize ¶
func (*Mother) TimeSetAfter ¶
func (*Mother) TimeSetBefore ¶
Click to show internal directories.
Click to hide internal directories.