Versions in this module Expand all Collapse all v2 v2.96.0 Feb 14, 2022 Changes in this version + func All(validators ...schema.SchemaValidateFunc) schema.SchemaValidateFunc + func Any(validators ...schema.SchemaValidateFunc) schema.SchemaValidateFunc + func FloatAtLeast(min float64) func(interface{}, string) ([]string, []error) + func FloatBetween(min, max float64) func(interface{}, string) ([]string, []error) + func IntAtLeast(min int) func(interface{}, string) ([]string, []error) + func IntAtMost(max int) func(interface{}, string) ([]string, []error) + func IntBetween(min, max int) func(interface{}, string) ([]string, []error) + func IntDivisibleBy(divisor int) func(interface{}, string) ([]string, []error) + func IntInSlice(valid []int) func(interface{}, string) ([]string, []error) + func IntNotInSlice(valid []int) func(interface{}, string) ([]string, []error) + func IsCIDR(i interface{}, k string) ([]string, []error) + func IsDayOfTheWeek(ignoreCase bool) func(interface{}, string) ([]string, []error) + func IsIPAddress(i interface{}, k string) ([]string, []error) + func IsIPv4Address(i interface{}, k string) ([]string, []error) + func IsIPv4Range(i interface{}, k string) ([]string, []error) + func IsIPv6Address(i interface{}, k string) ([]string, []error) + func IsMonth(ignoreCase bool) func(interface{}, string) ([]string, []error) + func IsPortNumber(i interface{}, k string) ([]string, []error) + func IsRFC3339Time(i interface{}, k string) ([]string, []error) + func IsURLWithHTTPS(i interface{}, k string) ([]string, []error) + func IsURLWithHTTPorHTTPS(i interface{}, k string) ([]string, []error) + func IsURLWithScheme(validSchemes []string) func(interface{}, string) ([]string, []error) + func IsUUID(i interface{}, k string) ([]string, []error) + func NoZeroValues(i interface{}, k string) ([]string, []error) + func None(validators map[string]func(interface{}, string) ([]string, []error)) func(interface{}, string) ([]string, []error) + func StringDoesNotContainAny(chars string) func(interface{}, string) ([]string, []error) + func StringInSlice(valid []string, ignoreCase bool) func(interface{}, string) ([]string, []error) + func StringIsBase64(i interface{}, k string) ([]string, []error) + func StringIsEmpty(i interface{}, k string) ([]string, []error) + func StringIsJSON(i interface{}, k string) ([]string, []error) + func StringIsNotEmpty(i interface{}, k string) ([]string, []error) + func StringIsNotWhiteSpace(i interface{}, k string) ([]string, []error) + func StringIsValidRegExp(i interface{}, k string) ([]string, []error) + func StringLenBetween(min, max int) func(interface{}, string) ([]string, []error) + func StringMatch(r *regexp.Regexp, message string) func(interface{}, string) ([]string, []error) + func StringNotInSlice(invalid []string, ignoreCase bool) func(interface{}, string) ([]string, []error)