Versions in this module Expand all Collapse all v1 v1.0.0 Feb 10, 2024 Changes in this version + const DNS1123LabelMaxLength + const DNS1123SubdomainMaxLength + const LabelValueMaxLength + func EmptyError() string + func InclusiveRangeError(lo, hi int) string + func IsDNS1123Label(value string) []string + func IsDNS1123Subdomain(value string) []string + func IsInRange(value int, min int, max int) []string + func IsQualifiedName(value string) []string + func IsValidIP(value string) []string + func IsValidIPv4Address(fldPath *field.Path, value string) field.ErrorList + func IsValidIPv6Address(fldPath *field.Path, value string) field.ErrorList + func IsValidLabelValue(value string) []string + func IsValidPassword(password string) error + func IsValidPercent(percent string) []string + func IsValidPortNum(port int) []string + func MaxLenError(length int) string + func RegexError(msg string, fmt string, examples ...string) string + type Validator struct + func NewValidator(data interface{}) *Validator + func (v *Validator) Validate() field.ErrorList