Documentation
¶
Index ¶
- func Bool(target *bool) expect.Predicate
- func Float(target *float64) expect.Predicate
- func Int(target *int64) expect.Predicate
- func Map(target *map[string]any) expect.Predicate
- func Slice(target *[]any) expect.Predicate
- func String(target *string) expect.Predicate
- func Struct(target any) expect.Predicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bool ¶
Bool creates a predicate requiring a value to be a bool, binding the value to a target variable.
func Float ¶ added in v0.0.9
Float creates a predicate requiring a value to be a floating point number, binding the value to a target variable.
func Int ¶ added in v0.0.9
Int creates a predicate requiring a value to be an integer, binding the value to a target variable.
func Map ¶
Map creates a predicate requiring a value to be a map, binding the value to a target variable.
func Slice ¶
Slice creates a predicate requiring a value to be a slice, binding the value to a target variable.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.