Documentation ¶
Index ¶
- type Generator
- func Between[T Numeric](min, max T) Generator[T]
- func OneOf[T any](values ...T) Generator[T]
- func Only[T any](t T) Generator[T]
- func StringGen(alphabet string, minLength uint, maxLength uint) Generator[string]
- func TimeBetween(start time.Time, end time.Time) Generator[time.Time]
- func Using[T any, K any](gen Generator[T], compositionAction func(T) K) Generator[K]
- func UsingGen[T any, K any](gen Generator[T], flatMapFunc func(T) Generator[K]) Generator[K]
- type Numeric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.