Documentation
¶
Index ¶
- func Contains(va any, contain string) (bool, error)
- func Equal[T comparable](a, equal T) bool
- func From(v any, from string, not bool) (bool, error)
- func FromArray[T comparable](v []T, from []T, not bool) (bool, error)
- func Max[T int | float64](v, max T) bool
- func Min[T int | float64](v, min T) bool
- func NotEqual[T comparable](a, notEqual T) bool
- func Regex(s, regex string) bool
- func ValidateContains[T any](v T, ast *model.AstValue) error
- func ValidateEqual(v any, ast *model.AstValue) error
- func ValidateFrom[T any](v T, ast *model.AstValue) error
- func ValidateGroups(groups map[string]*model.Group, groupSize map[string]int, ...) error
- func ValidateMax(v any, ast *model.AstValue) error
- func ValidateMin(v any, ast *model.AstValue) error
- func ValidateNotContains[T any](v T, ast *model.AstValue) error
- func ValidateNotEqual(v any, ast *model.AstValue) error
- func ValidateNotFrom[T any](v T, ast *model.AstValue) error
- func ValidateRegex(v any, ast *model.AstValue) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶ added in v0.5.0
func Equal[T comparable](a, equal T) bool
func FromArray ¶ added in v0.5.0
func FromArray[T comparable](v []T, from []T, not bool) (bool, error)
func NotEqual ¶ added in v0.5.0
func NotEqual[T comparable](a, notEqual T) bool
func ValidateContains ¶ added in v0.5.0
func ValidateGroups ¶ added in v0.2.1
func ValidateNotContains ¶ added in v0.5.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.