Documentation
¶
Index ¶
- func CheckArray(v reflect.Value, c *model.AstValue) error
- func CheckBool(v reflect.Value, c *model.AstValue) error
- func CheckFloat(v reflect.Value, c *model.AstValue) error
- func CheckInt(v reflect.Value, c *model.AstValue) error
- func CheckMap(v reflect.Value, c *model.AstValue) error
- func CheckString(v reflect.Value, c *model.AstValue) error
- func CheckTime(v reflect.Value, c *model.AstValue) error
- func ValidateGroups(groups map[string]*model.Group, groupSize map[string]int, ...) error
- func ValueContains(reflectValue reflect.Value, contain string) (string, error)
- func ValueFrom(reflectValue reflect.Value, from []string, shouldFind bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateGroups ¶ added in v0.2.1
func ValueContains ¶
ValueContains checks, if the [reflectValue] contains [contain].
func ValueFrom ¶
ValueFrom checks, if the [reflectValue] consists of only ([shouldFind] == true)/of none ([shouldFind] == false) of the values from [from]. If a value is not found with [shouldFind] == true the missing value is given back. If a value is found with [shouldFind] == false the value found is given back.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.