Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hypothesis ¶
type Hypothesis[T any] interface { Validate(ctx context.Context, message string, time time.Duration) Test(ctx context.Context, item T) }
func For ¶
func For(typ interface{}, condition func(interface{}) bool) Hypothesis[interface{}]
func ForT ¶
func ForT[T any](condition func(T) bool) Hypothesis[T]
Click to show internal directories.
Click to hide internal directories.