SYMBOL INDEX (995 symbols across 74 files) FILE: _examples/custom-validation/main.go type MyStruct (line 10) | type MyStruct struct function main (line 17) | func main() { function ValidateMyVal (line 37) | func ValidateMyVal(fl validator.FieldLevel) bool { FILE: _examples/custom/main.go type DbBackedUser (line 13) | type DbBackedUser struct function main (line 21) | func main() { function ValidateValuer (line 39) | func ValidateValuer(field reflect.Value) interface{} { FILE: _examples/dive/main.go type Test (line 10) | type Test struct function main (line 18) | func main() { function val (line 35) | func val(test Test) { FILE: _examples/gin-upgrading-overriding/main.go function main (line 5) | func main() { FILE: _examples/gin-upgrading-overriding/v8_to_v9.go type defaultValidator (line 11) | type defaultValidator struct method ValidateStruct (line 18) | func (v *defaultValidator) ValidateStruct(obj interface{}) error { method Engine (line 32) | func (v *defaultValidator) Engine() interface{} { method lazyinit (line 37) | func (v *defaultValidator) lazyinit() { function kindOfData (line 46) | func kindOfData(data interface{}) reflect.Kind { FILE: _examples/http-transalations/main.go function main (line 26) | func main() { FILE: _examples/map-validation/main.go function main (line 10) | func main() { function validateMap (line 17) | func validateMap() { function validateNestedMap (line 40) | func validateNestedMap() { FILE: _examples/simple/main.go type User (line 11) | type User struct type Address (line 22) | type Address struct function main (line 32) | func main() { function validateStruct (line 40) | func validateStruct() { function validateVariable (line 95) | func validateVariable() { FILE: _examples/struct-level/main.go type validationError (line 13) | type validationError struct type Gender (line 27) | type Gender method String (line 35) | func (gender Gender) String() string { constant Male (line 30) | Male Gender = iota + 1 constant Female (line 31) | Female constant Intersex (line 32) | Intersex type User (line 44) | type User struct type Address (line 55) | type Address struct function main (line 65) | func main() { function UserStructLevelValidation (line 167) | func UserStructLevelValidation(sl validator.StructLevel) { FILE: _examples/struct-map-rules-validation/main.go type Data (line 8) | type Data struct type Details (line 14) | type Details struct type FamilyMembers (line 19) | type FamilyMembers struct type Data2 (line 24) | type Data2 struct function main (line 31) | func main() { function validateStruct (line 43) | func validateStruct() { function validateStructNested (line 61) | func validateStructNested() { FILE: _examples/translations/main.go type User (line 13) | type User struct type Address (line 23) | type Address struct function main (line 36) | func main() { function translateAll (line 55) | func translateAll(trans ut.Translator) { function translateIndividual (line 83) | func translateIndividual(trans ut.Translator) { function translateOverride (line 103) | func translateOverride(trans ut.Translator) { FILE: _examples/validate_fn/enum_enumer.go constant _EnumName (line 10) | _EnumName = "ZeroOneTwoThree" constant _EnumLowerName (line 14) | _EnumLowerName = "zeroonetwothree" method String (line 16) | func (i Enum) String() string { function _EnumNoOp (line 25) | func _EnumNoOp() { function EnumString (line 55) | func EnumString(s string) (Enum, error) { function EnumValues (line 67) | func EnumValues() []Enum { function EnumStrings (line 72) | func EnumStrings() []string { method IsAEnum (line 79) | func (i Enum) IsAEnum() bool { FILE: _examples/validate_fn/main.go type Enum (line 11) | type Enum method Validate (line 20) | func (e *Enum) Validate() error { constant Zero (line 14) | Zero Enum = iota constant One (line 15) | One constant Two (line 16) | Two constant Three (line 17) | Three type Struct (line 28) | type Struct struct function main (line 33) | func main() { FILE: _examples/valuer/main.go type Nullable (line 11) | type Nullable struct method ValidatorValue (line 16) | func (n Nullable[T]) ValidatorValue() any { type Config (line 20) | type Config struct type Record (line 24) | type Record struct function main (line 31) | func main() { FILE: baked_in.go type Func (line 36) | type Func type FuncCtx (line 40) | type FuncCtx function wrapFunc (line 43) | func wrapFunc(fn Func) FuncCtx { function parseOneOfParam2 (line 266) | func parseOneOfParam2(s string) []string { function isURLEncoded (line 282) | func isURLEncoded(fl FieldLevel) bool { function isHTMLEncoded (line 286) | func isHTMLEncoded(fl FieldLevel) bool { function isHTML (line 290) | func isHTML(fl FieldLevel) bool { function isOneOf (line 294) | func isOneOf(fl FieldLevel) bool { function isOneOfCI (line 319) | func isOneOfCI(fl FieldLevel) bool { function isUnique (line 336) | func isUnique(fl FieldLevel) bool { function isMAC (line 458) | func isMAC(fl FieldLevel) bool { function isCIDRv4 (line 465) | func isCIDRv4(fl FieldLevel) bool { function isCIDRv6 (line 472) | func isCIDRv6(fl FieldLevel) bool { function isCIDR (line 479) | func isCIDR(fl FieldLevel) bool { function isIPv4 (line 486) | func isIPv4(fl FieldLevel) bool { function isIPv6 (line 493) | func isIPv6(fl FieldLevel) bool { function isIP (line 500) | func isIP(fl FieldLevel) bool { function isSSN (line 507) | func isSSN(fl FieldLevel) bool { function isLongitude (line 518) | func isLongitude(fl FieldLevel) bool { function isLatitude (line 541) | func isLatitude(fl FieldLevel) bool { function isDataURI (line 564) | func isDataURI(fl FieldLevel) bool { function hasMultiByteCharacter (line 579) | func hasMultiByteCharacter(fl FieldLevel) bool { function isPrintableASCII (line 590) | func isPrintableASCII(fl FieldLevel) bool { function isASCII (line 599) | func isASCII(fl FieldLevel) bool { function isUUID5 (line 608) | func isUUID5(fl FieldLevel) bool { function isUUID4 (line 613) | func isUUID4(fl FieldLevel) bool { function isUUID3 (line 618) | func isUUID3(fl FieldLevel) bool { function isUUID (line 623) | func isUUID(fl FieldLevel) bool { function isUUID5RFC4122 (line 628) | func isUUID5RFC4122(fl FieldLevel) bool { function isUUID4RFC4122 (line 633) | func isUUID4RFC4122(fl FieldLevel) bool { function isUUID3RFC4122 (line 638) | func isUUID3RFC4122(fl FieldLevel) bool { function isUUIDRFC4122 (line 643) | func isUUIDRFC4122(fl FieldLevel) bool { function isULID (line 648) | func isULID(fl FieldLevel) bool { function isMD4 (line 653) | func isMD4(fl FieldLevel) bool { function isMD5 (line 658) | func isMD5(fl FieldLevel) bool { function isSHA256 (line 663) | func isSHA256(fl FieldLevel) bool { function isSHA384 (line 668) | func isSHA384(fl FieldLevel) bool { function isSHA512 (line 673) | func isSHA512(fl FieldLevel) bool { function isRIPEMD128 (line 678) | func isRIPEMD128(fl FieldLevel) bool { function isRIPEMD160 (line 683) | func isRIPEMD160(fl FieldLevel) bool { function isTIGER128 (line 688) | func isTIGER128(fl FieldLevel) bool { function isTIGER160 (line 693) | func isTIGER160(fl FieldLevel) bool { function isTIGER192 (line 698) | func isTIGER192(fl FieldLevel) bool { function isISBN (line 703) | func isISBN(fl FieldLevel) bool { function isISBN13 (line 708) | func isISBN13(fl FieldLevel) bool { function isISBN10 (line 728) | func isISBN10(fl FieldLevel) bool { function isISSN (line 752) | func isISSN(fl FieldLevel) bool { function isEthereumAddress (line 778) | func isEthereumAddress(fl FieldLevel) bool { function isEthereumAddressChecksum (line 785) | func isEthereumAddressChecksum(fl FieldLevel) bool { function isBitcoinAddress (line 811) | func isBitcoinAddress(fl FieldLevel) bool { function isBitcoinBech32Address (line 848) | func isBitcoinBech32Address(fl FieldLevel) bool { function excludesRune (line 928) | func excludesRune(fl FieldLevel) bool { function excludesAll (line 933) | func excludesAll(fl FieldLevel) bool { function excludes (line 938) | func excludes(fl FieldLevel) bool { function containsRune (line 943) | func containsRune(fl FieldLevel) bool { function containsAny (line 950) | func containsAny(fl FieldLevel) bool { function contains (line 955) | func contains(fl FieldLevel) bool { function startsWith (line 960) | func startsWith(fl FieldLevel) bool { function endsWith (line 965) | func endsWith(fl FieldLevel) bool { function startsNotWith (line 970) | func startsNotWith(fl FieldLevel) bool { function endsNotWith (line 975) | func endsNotWith(fl FieldLevel) bool { function fieldContains (line 980) | func fieldContains(fl FieldLevel) bool { function fieldExcludes (line 993) | func fieldExcludes(fl FieldLevel) bool { function isNeField (line 1005) | func isNeField(fl FieldLevel) bool { function isNe (line 1053) | func isNe(fl FieldLevel) bool { function isNeIgnoreCase (line 1059) | func isNeIgnoreCase(fl FieldLevel) bool { function isLteCrossStructField (line 1064) | func isLteCrossStructField(fl FieldLevel) bool { function isLtCrossStructField (line 1109) | func isLtCrossStructField(fl FieldLevel) bool { function isGteCrossStructField (line 1153) | func isGteCrossStructField(fl FieldLevel) bool { function isGtCrossStructField (line 1197) | func isGtCrossStructField(fl FieldLevel) bool { function isNeCrossStructField (line 1241) | func isNeCrossStructField(fl FieldLevel) bool { function isEqCrossStructField (line 1288) | func isEqCrossStructField(fl FieldLevel) bool { function isEqField (line 1335) | func isEqField(fl FieldLevel) bool { function isEq (line 1382) | func isEq(fl FieldLevel) bool { function isEqIgnoreCase (line 1427) | func isEqIgnoreCase(fl FieldLevel) bool { function isPostcodeByIso3166Alpha2 (line 1441) | func isPostcodeByIso3166Alpha2(fl FieldLevel) bool { function isPostcodeByIso3166Alpha2Field (line 1456) | func isPostcodeByIso3166Alpha2Field(fl FieldLevel) bool { function isBase32 (line 1483) | func isBase32(fl FieldLevel) bool { function isBase64 (line 1488) | func isBase64(fl FieldLevel) bool { function isBase64URL (line 1493) | func isBase64URL(fl FieldLevel) bool { function isBase64RawURL (line 1498) | func isBase64RawURL(fl FieldLevel) bool { function isURI (line 1503) | func isURI(fl FieldLevel) bool { function isURL (line 1530) | func isURL(fl FieldLevel) bool { function isHttpURL (line 1559) | func isHttpURL(fl FieldLevel) bool { function isHttpsURL (line 1582) | func isHttpsURL(fl FieldLevel) bool { function isUrnRFC2141 (line 1605) | func isUrnRFC2141(fl FieldLevel) bool { function isFile (line 1622) | func isFile(fl FieldLevel) bool { function isImage (line 1639) | func isImage(fl FieldLevel) bool { function isFilePath (line 1702) | func isFilePath(fl FieldLevel) bool { function isE164 (line 1756) | func isE164(fl FieldLevel) bool { function isEmail (line 1761) | func isEmail(fl FieldLevel) bool { function isHSLA (line 1770) | func isHSLA(fl FieldLevel) bool { function isCMYK (line 1775) | func isCMYK(fl FieldLevel) bool { function isHSL (line 1780) | func isHSL(fl FieldLevel) bool { function isRGBA (line 1785) | func isRGBA(fl FieldLevel) bool { function isRGB (line 1790) | func isRGB(fl FieldLevel) bool { function isHEXColor (line 1795) | func isHEXColor(fl FieldLevel) bool { function isHexadecimal (line 1800) | func isHexadecimal(fl FieldLevel) bool { function isNumber (line 1805) | func isNumber(fl FieldLevel) bool { function isNumeric (line 1815) | func isNumeric(fl FieldLevel) bool { function isAlphanum (line 1825) | func isAlphanum(fl FieldLevel) bool { function isAlpha (line 1830) | func isAlpha(fl FieldLevel) bool { function isAlphanumUnicode (line 1835) | func isAlphanumUnicode(fl FieldLevel) bool { function isAlphaSpace (line 1840) | func isAlphaSpace(fl FieldLevel) bool { function isAlphaNumericSpace (line 1845) | func isAlphaNumericSpace(fl FieldLevel) bool { function isAlphaUnicode (line 1850) | func isAlphaUnicode(fl FieldLevel) bool { function isBoolean (line 1855) | func isBoolean(fl FieldLevel) bool { function isDefault (line 1866) | func isDefault(fl FieldLevel) bool { function hasValue (line 1871) | func hasValue(fl FieldLevel) bool { function hasNotZeroValue (line 1885) | func hasNotZeroValue(fl FieldLevel) bool { function requireCheckFieldKind (line 1902) | func requireCheckFieldKind(fl FieldLevel, param string, defaultNotFoundV... function requireCheckFieldValue (line 1926) | func requireCheckFieldValue( function requiredIf (line 1973) | func requiredIf(fl FieldLevel) bool { function excludedIf (line 1997) | func excludedIf(fl FieldLevel) bool { function requiredUnless (line 2013) | func requiredUnless(fl FieldLevel) bool { function skipUnless (line 2029) | func skipUnless(fl FieldLevel) bool { function excludedUnless (line 2044) | func excludedUnless(fl FieldLevel) bool { function excludedWith (line 2060) | func excludedWith(fl FieldLevel) bool { function requiredWith (line 2072) | func requiredWith(fl FieldLevel) bool { function excludedWithAll (line 2084) | func excludedWithAll(fl FieldLevel) bool { function requiredWithAll (line 2096) | func requiredWithAll(fl FieldLevel) bool { function excludedWithout (line 2108) | func excludedWithout(fl FieldLevel) bool { function requiredWithout (line 2117) | func requiredWithout(fl FieldLevel) bool { function excludedWithoutAll (line 2129) | func excludedWithoutAll(fl FieldLevel) bool { function requiredWithoutAll (line 2141) | func requiredWithoutAll(fl FieldLevel) bool { function isGteField (line 2152) | func isGteField(fl FieldLevel) bool { function isGtField (line 2196) | func isGtField(fl FieldLevel) bool { function isGte (line 2240) | func isGte(fl FieldLevel) bool { function isGt (line 2289) | func isGt(fl FieldLevel) bool { function hasLengthOf (line 2335) | func hasLengthOf(fl FieldLevel) bool { function hasMinOf (line 2375) | func hasMinOf(fl FieldLevel) bool { function isLteField (line 2380) | func isLteField(fl FieldLevel) bool { function isLtField (line 2424) | func isLtField(fl FieldLevel) bool { function isLte (line 2468) | func isLte(fl FieldLevel) bool { function isLt (line 2517) | func isLt(fl FieldLevel) bool { function hasMaxOf (line 2563) | func hasMaxOf(fl FieldLevel) bool { function isTCP4AddrResolvable (line 2568) | func isTCP4AddrResolvable(fl FieldLevel) bool { function isTCP6AddrResolvable (line 2578) | func isTCP6AddrResolvable(fl FieldLevel) bool { function isTCPAddrResolvable (line 2589) | func isTCPAddrResolvable(fl FieldLevel) bool { function isUDP4AddrResolvable (line 2600) | func isUDP4AddrResolvable(fl FieldLevel) bool { function isUDP6AddrResolvable (line 2611) | func isUDP6AddrResolvable(fl FieldLevel) bool { function isUDPAddrResolvable (line 2622) | func isUDPAddrResolvable(fl FieldLevel) bool { function isIP4AddrResolvable (line 2633) | func isIP4AddrResolvable(fl FieldLevel) bool { function isIP6AddrResolvable (line 2644) | func isIP6AddrResolvable(fl FieldLevel) bool { function isIPAddrResolvable (line 2655) | func isIPAddrResolvable(fl FieldLevel) bool { function isUnixAddrResolvable (line 2666) | func isUnixAddrResolvable(fl FieldLevel) bool { function isUnixDomainSocketExists (line 2675) | func isUnixDomainSocketExists(fl FieldLevel) bool { function isAbstractSocketExists (line 2702) | func isAbstractSocketExists(sockpath string) bool { function isIP4Addr (line 2736) | func isIP4Addr(fl FieldLevel) bool { function isIP6Addr (line 2748) | func isIP6Addr(fl FieldLevel) bool { function isHostnameRFC952 (line 2762) | func isHostnameRFC952(fl FieldLevel) bool { function isHostnameRFC1123 (line 2766) | func isHostnameRFC1123(fl FieldLevel) bool { function isFQDN (line 2770) | func isFQDN(fl FieldLevel) bool { function isDir (line 2781) | func isDir(fl FieldLevel) bool { function isDirPath (line 2797) | func isDirPath(fl FieldLevel) bool { function isJSON (line 2854) | func isJSON(fl FieldLevel) bool { function isJWT (line 2874) | func isJWT(fl FieldLevel) bool { function isHostnamePort (line 2879) | func isHostnamePort(fl FieldLevel) bool { function isPort (line 2900) | func isPort(fl FieldLevel) bool { function isLowercase (line 2907) | func isLowercase(fl FieldLevel) bool { function isUppercase (line 2921) | func isUppercase(fl FieldLevel) bool { function isDatetime (line 2935) | func isDatetime(fl FieldLevel) bool { function isTimeZone (line 2949) | func isTimeZone(fl FieldLevel) bool { function isIso3166Alpha2 (line 2971) | func isIso3166Alpha2(fl FieldLevel) bool { function isIso3166Alpha2EU (line 2977) | func isIso3166Alpha2EU(fl FieldLevel) bool { function isIso3166Alpha3 (line 2983) | func isIso3166Alpha3(fl FieldLevel) bool { function isIso3166Alpha3EU (line 2989) | func isIso3166Alpha3EU(fl FieldLevel) bool { function isIso3166AlphaNumeric (line 2995) | func isIso3166AlphaNumeric(fl FieldLevel) bool { function isIso3166AlphaNumericEU (line 3019) | func isIso3166AlphaNumericEU(fl FieldLevel) bool { function isIso31662 (line 3043) | func isIso31662(fl FieldLevel) bool { function isIso4217 (line 3049) | func isIso4217(fl FieldLevel) bool { function isIso4217Numeric (line 3055) | func isIso4217Numeric(fl FieldLevel) bool { function isBCP47LanguageTag (line 3073) | func isBCP47LanguageTag(fl FieldLevel) bool { function isIsoBic2014Format (line 3085) | func isIsoBic2014Format(fl FieldLevel) bool { function isIsoBic2022Format (line 3092) | func isIsoBic2022Format(fl FieldLevel) bool { function isSemverFormat (line 3099) | func isSemverFormat(fl FieldLevel) bool { function isCveFormat (line 3106) | func isCveFormat(fl FieldLevel) bool { function isDnsRFC1035LabelFormat (line 3115) | func isDnsRFC1035LabelFormat(fl FieldLevel) bool { function digitsHaveLuhnChecksum (line 3127) | func digitsHaveLuhnChecksum(digits []string) bool { function isMongoDBObjectId (line 3150) | func isMongoDBObjectId(fl FieldLevel) bool { function isMongoDBConnectionString (line 3156) | func isMongoDBConnectionString(fl FieldLevel) bool { function isSpiceDB (line 3162) | func isSpiceDB(fl FieldLevel) bool { function isCreditCard (line 3179) | func isCreditCard(fl FieldLevel) bool { function hasLuhnChecksum (line 3200) | func hasLuhnChecksum(fl FieldLevel) bool { function isCron (line 3222) | func isCron(fl FieldLevel) bool { function isEIN (line 3228) | func isEIN(fl FieldLevel) bool { function isValidateFn (line 3238) | func isValidateFn(fl FieldLevel) bool { function tryCallValidateFn (line 3258) | func tryCallValidateFn(field reflect.Value, validateFn string) (bool, er... FILE: benchmarks_test.go function BenchmarkFieldSuccess (line 11) | func BenchmarkFieldSuccess(b *testing.B) { function BenchmarkFieldSuccessParallel (line 21) | func BenchmarkFieldSuccessParallel(b *testing.B) { function BenchmarkFieldFailure (line 33) | func BenchmarkFieldFailure(b *testing.B) { function BenchmarkFieldFailureParallel (line 43) | func BenchmarkFieldFailureParallel(b *testing.B) { function BenchmarkFieldArrayDiveSuccess (line 55) | func BenchmarkFieldArrayDiveSuccess(b *testing.B) { function BenchmarkFieldArrayDiveSuccessParallel (line 66) | func BenchmarkFieldArrayDiveSuccessParallel(b *testing.B) { function BenchmarkFieldArrayDiveFailure (line 78) | func BenchmarkFieldArrayDiveFailure(b *testing.B) { function BenchmarkFieldArrayDiveFailureParallel (line 88) | func BenchmarkFieldArrayDiveFailureParallel(b *testing.B) { function BenchmarkFieldMapDiveSuccess (line 100) | func BenchmarkFieldMapDiveSuccess(b *testing.B) { function BenchmarkFieldMapDiveSuccessParallel (line 111) | func BenchmarkFieldMapDiveSuccessParallel(b *testing.B) { function BenchmarkFieldMapDiveFailure (line 123) | func BenchmarkFieldMapDiveFailure(b *testing.B) { function BenchmarkFieldMapDiveFailureParallel (line 133) | func BenchmarkFieldMapDiveFailureParallel(b *testing.B) { function BenchmarkFieldMapDiveWithKeysSuccess (line 145) | func BenchmarkFieldMapDiveWithKeysSuccess(b *testing.B) { function BenchmarkFieldMapDiveWithKeysSuccessParallel (line 156) | func BenchmarkFieldMapDiveWithKeysSuccessParallel(b *testing.B) { function BenchmarkFieldMapDiveWithKeysFailure (line 168) | func BenchmarkFieldMapDiveWithKeysFailure(b *testing.B) { function BenchmarkFieldMapDiveWithKeysFailureParallel (line 178) | func BenchmarkFieldMapDiveWithKeysFailureParallel(b *testing.B) { function BenchmarkFieldCustomTypeSuccess (line 190) | func BenchmarkFieldCustomTypeSuccess(b *testing.B) { function BenchmarkFieldCustomTypeSuccessParallel (line 203) | func BenchmarkFieldCustomTypeSuccessParallel(b *testing.B) { function BenchmarkFieldCustomTypeFailure (line 218) | func BenchmarkFieldCustomTypeFailure(b *testing.B) { function BenchmarkFieldCustomTypeFailureParallel (line 229) | func BenchmarkFieldCustomTypeFailureParallel(b *testing.B) { function BenchmarkFieldOrTagSuccess (line 242) | func BenchmarkFieldOrTagSuccess(b *testing.B) { function BenchmarkFieldOrTagSuccessParallel (line 252) | func BenchmarkFieldOrTagSuccessParallel(b *testing.B) { function BenchmarkFieldOrTagFailure (line 264) | func BenchmarkFieldOrTagFailure(b *testing.B) { function BenchmarkFieldOrTagFailureParallel (line 274) | func BenchmarkFieldOrTagFailureParallel(b *testing.B) { function BenchmarkStructLevelValidationSuccess (line 286) | func BenchmarkStructLevelValidationSuccess(b *testing.B) { function BenchmarkStructLevelValidationSuccessParallel (line 300) | func BenchmarkStructLevelValidationSuccessParallel(b *testing.B) { function BenchmarkStructLevelValidationFailure (line 316) | func BenchmarkStructLevelValidationFailure(b *testing.B) { function BenchmarkStructLevelValidationFailureParallel (line 330) | func BenchmarkStructLevelValidationFailureParallel(b *testing.B) { function BenchmarkStructSimpleCustomTypeSuccess (line 346) | func BenchmarkStructSimpleCustomTypeSuccess(b *testing.B) { function BenchmarkStructSimpleCustomTypeSuccessParallel (line 367) | func BenchmarkStructSimpleCustomTypeSuccessParallel(b *testing.B) { function BenchmarkStructSimpleCustomTypeFailure (line 388) | func BenchmarkStructSimpleCustomTypeFailure(b *testing.B) { function BenchmarkStructSimpleCustomTypeFailureParallel (line 406) | func BenchmarkStructSimpleCustomTypeFailureParallel(b *testing.B) { function BenchmarkStructFilteredSuccess (line 426) | func BenchmarkStructFilteredSuccess(b *testing.B) { function BenchmarkStructFilteredSuccessParallel (line 448) | func BenchmarkStructFilteredSuccessParallel(b *testing.B) { function BenchmarkStructFilteredFailure (line 472) | func BenchmarkStructFilteredFailure(b *testing.B) { function BenchmarkStructFilteredFailureParallel (line 496) | func BenchmarkStructFilteredFailureParallel(b *testing.B) { function BenchmarkStructPartialSuccess (line 520) | func BenchmarkStructPartialSuccess(b *testing.B) { function BenchmarkStructPartialSuccessParallel (line 538) | func BenchmarkStructPartialSuccessParallel(b *testing.B) { function BenchmarkStructPartialFailure (line 558) | func BenchmarkStructPartialFailure(b *testing.B) { function BenchmarkStructPartialFailureParallel (line 576) | func BenchmarkStructPartialFailureParallel(b *testing.B) { function BenchmarkStructExceptSuccess (line 596) | func BenchmarkStructExceptSuccess(b *testing.B) { function BenchmarkStructExceptSuccessParallel (line 614) | func BenchmarkStructExceptSuccessParallel(b *testing.B) { function BenchmarkStructExceptFailure (line 634) | func BenchmarkStructExceptFailure(b *testing.B) { function BenchmarkStructExceptFailureParallel (line 652) | func BenchmarkStructExceptFailureParallel(b *testing.B) { function BenchmarkStructSimpleCrossFieldSuccess (line 672) | func BenchmarkStructSimpleCrossFieldSuccess(b *testing.B) { function BenchmarkStructSimpleCrossFieldSuccessParallel (line 693) | func BenchmarkStructSimpleCrossFieldSuccessParallel(b *testing.B) { function BenchmarkStructSimpleCrossFieldFailure (line 716) | func BenchmarkStructSimpleCrossFieldFailure(b *testing.B) { function BenchmarkStructSimpleCrossFieldFailureParallel (line 738) | func BenchmarkStructSimpleCrossFieldFailureParallel(b *testing.B) { function BenchmarkStructSimpleCrossStructCrossFieldSuccess (line 760) | func BenchmarkStructSimpleCrossStructCrossFieldSuccess(b *testing.B) { function BenchmarkStructSimpleCrossStructCrossFieldSuccessParallel (line 787) | func BenchmarkStructSimpleCrossStructCrossFieldSuccessParallel(b *testin... function BenchmarkStructSimpleCrossStructCrossFieldFailure (line 816) | func BenchmarkStructSimpleCrossStructCrossFieldFailure(b *testing.B) { function BenchmarkStructSimpleCrossStructCrossFieldFailureParallel (line 845) | func BenchmarkStructSimpleCrossStructCrossFieldFailureParallel(b *testin... function BenchmarkStructSimpleSuccess (line 877) | func BenchmarkStructSimpleSuccess(b *testing.B) { function BenchmarkStructSimpleSuccessParallel (line 892) | func BenchmarkStructSimpleSuccessParallel(b *testing.B) { function BenchmarkStructSimpleFailure (line 908) | func BenchmarkStructSimpleFailure(b *testing.B) { function BenchmarkStructSimpleFailureParallel (line 923) | func BenchmarkStructSimpleFailureParallel(b *testing.B) { function BenchmarkStructComplexSuccess (line 940) | func BenchmarkStructComplexSuccess(b *testing.B) { function BenchmarkStructComplexSuccessParallel (line 975) | func BenchmarkStructComplexSuccessParallel(b *testing.B) { function BenchmarkStructComplexFailure (line 1012) | func BenchmarkStructComplexFailure(b *testing.B) { function BenchmarkStructComplexFailureParallel (line 1044) | func BenchmarkStructComplexFailureParallel(b *testing.B) { type TestOneof (line 1078) | type TestOneof struct function BenchmarkOneof (line 1082) | func BenchmarkOneof(b *testing.B) { function BenchmarkOneofParallel (line 1090) | func BenchmarkOneofParallel(b *testing.B) { type T (line 1102) | type T struct method Validate (line 1104) | func (*T) Validate() error { return errors.New("ops") } function BenchmarkValidateFnSequential (line 1106) | func BenchmarkValidateFnSequential(b *testing.B) { function BenchmarkValidateFnParallel (line 1121) | func BenchmarkValidateFnParallel(b *testing.B) { FILE: cache.go type tagType (line 11) | type tagType constant typeDefault (line 14) | typeDefault tagType = iota constant typeOmitEmpty (line 15) | typeOmitEmpty constant typeIsDefault (line 16) | typeIsDefault constant typeNoStructLevel (line 17) | typeNoStructLevel constant typeStructOnly (line 18) | typeStructOnly constant typeDive (line 19) | typeDive constant typeOr (line 20) | typeOr constant typeKeys (line 21) | typeKeys constant typeEndKeys (line 22) | typeEndKeys constant typeOmitNil (line 23) | typeOmitNil constant typeOmitZero (line 24) | typeOmitZero constant invalidValidation (line 28) | invalidValidation = "Invalid validation tag on field '%s'" constant undefinedValidation (line 29) | undefinedValidation = "Undefined validation function '%s' on field '%s'" constant keysTagNotDefined (line 30) | keysTagNotDefined = "'" + endKeysTag + "' tag encountered without a co... type structCache (line 33) | type structCache struct method Get (line 38) | func (sc *structCache) Get(key reflect.Type) (c *cStruct, found bool) { method Set (line 43) | func (sc *structCache) Set(key reflect.Type, value *cStruct) { type tagCache (line 53) | type tagCache struct method Get (line 58) | func (tc *tagCache) Get(key string) (c *cTag, found bool) { method Set (line 63) | func (tc *tagCache) Set(key string, value *cTag) { type cStruct (line 73) | type cStruct struct type cField (line 79) | type cField struct type cTag (line 87) | type cTag struct method extractStructCache (line 103) | func (v *Validate) extractStructCache(current reflect.Value, sName strin... method parseFieldTagsRecursive (line 175) | func (v *Validate) parseFieldTagsRecursive(tag string, fieldName string,... method fetchCacheTag (line 328) | func (v *Validate) fetchCacheTag(tag string) *cTag { FILE: errors.go constant fieldErrMsg (line 13) | fieldErrMsg = "Key: '%s' Error:Field validation for '%s' failed on the '... type ValidationErrorsTranslations (line 17) | type ValidationErrorsTranslations type InvalidValidationError (line 21) | type InvalidValidationError struct method Error (line 26) | func (e *InvalidValidationError) Error() string { type ValidationErrors (line 36) | type ValidationErrors method Error (line 42) | func (ve ValidationErrors) Error() string { method Translate (line 54) | func (ve ValidationErrors) Translate(ut ut.Translator) ValidationError... type FieldError (line 76) | type FieldError interface type fieldError (line 165) | type fieldError struct method Tag (line 180) | func (fe *fieldError) Tag() string { method ActualTag (line 186) | func (fe *fieldError) ActualTag() string { method Namespace (line 192) | func (fe *fieldError) Namespace() string { method StructNamespace (line 198) | func (fe *fieldError) StructNamespace() string { method Field (line 204) | func (fe *fieldError) Field() string { method StructField (line 219) | func (fe *fieldError) StructField() string { method Value (line 226) | func (fe *fieldError) Value() interface{} { method Param (line 232) | func (fe *fieldError) Param() string { method Kind (line 237) | func (fe *fieldError) Kind() reflect.Kind { method Type (line 242) | func (fe *fieldError) Type() reflect.Type { method Error (line 247) | func (fe *fieldError) Error() string { method Translate (line 256) | func (fe *fieldError) Translate(ut ut.Translator) string { FILE: field_level.go type FieldLevel (line 7) | type FieldLevel interface method Field (line 69) | func (v *validate) Field() reflect.Value { method FieldName (line 75) | func (v *validate) FieldName() string { method GetTag (line 80) | func (v *validate) GetTag() string { method StructFieldName (line 85) | func (v *validate) StructFieldName() string { method Param (line 90) | func (v *validate) Param() string { method GetStructFieldOK (line 97) | func (v *validate) GetStructFieldOK() (reflect.Value, reflect.Kind, bool) { method GetStructFieldOKAdvanced (line 106) | func (v *validate) GetStructFieldOKAdvanced(val reflect.Value, namespace... method GetStructFieldOK2 (line 112) | func (v *validate) GetStructFieldOK2() (reflect.Value, reflect.Kind, boo... method GetStructFieldOKAdvanced2 (line 118) | func (v *validate) GetStructFieldOKAdvanced2(val reflect.Value, namespac... FILE: non-standard/validators/notblank.go function NotBlank (line 12) | func NotBlank(fl validator.FieldLevel) bool { FILE: non-standard/validators/notblank_test.go type test (line 10) | type test struct function TestNotBlank (line 19) | func TestNotBlank(t *testing.T) { FILE: options.go type Option (line 4) | type Option function WithRequiredStructEnabled (line 12) | func WithRequiredStructEnabled() Option { function WithPrivateFieldValidation (line 22) | func WithPrivateFieldValidation() Option { FILE: postcode_regexes.go function initPostcodes (line 175) | func initPostcodes() { FILE: regexes.go constant alphaRegexString (line 9) | alphaRegexString = "^[a-zA-Z]+$" constant alphaSpaceRegexString (line 10) | alphaSpaceRegexString = "^[a-zA-Z ]+$" constant alphaNumericRegexString (line 11) | alphaNumericRegexString = "^[a-zA-Z0-9]+$" constant alphaNumericSpaceRegexString (line 12) | alphaNumericSpaceRegexString = "^[a-zA-Z0-9 ]+$" constant alphaUnicodeRegexString (line 13) | alphaUnicodeRegexString = "^[\\p{L}]+$" constant alphaUnicodeNumericRegexString (line 14) | alphaUnicodeNumericRegexString = "^[\\p{L}\\p{N}]+$" constant numericRegexString (line 15) | numericRegexString = "^[-+]?[0-9]+(?:\\.[0-9]+)?$" constant numberRegexString (line 16) | numberRegexString = "^[0-9]+$" constant hexadecimalRegexString (line 17) | hexadecimalRegexString = "^(0[xX])?[0-9a-fA-F]+$" constant hexColorRegexString (line 18) | hexColorRegexString = "^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[... constant rgbRegexString (line 19) | rgbRegexString = "^rgb\\(\\s*(?:(?:0|[1-9]\\d?|1\\d\\d... constant rgbaRegexString (line 20) | rgbaRegexString = "^rgba\\(\\s*(?:(?:0|[1-9]\\d?|1\\d\\... constant hslRegexString (line 21) | hslRegexString = "^hsl\\(\\s*(?:0|[1-9]\\d?|[12]\\d\\d... constant hslaRegexString (line 22) | hslaRegexString = "^hsla\\(\\s*(?:0|[1-9]\\d?|[12]\\d\\... constant cmykRegexString (line 23) | cmykRegexString = "^cmyk\\((100|[1-9]?\\d)%\\s*,\\s*(10... constant emailRegexString (line 24) | emailRegexString = "^(?:(?:(?:(?:[a-zA-Z]|\\d|[!#\\$%&'\... constant e164RegexString (line 25) | e164RegexString = "^\\+?[1-9]\\d{7,14}$" constant base32RegexString (line 26) | base32RegexString = "^(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}={6}|... constant base64RegexString (line 27) | base64RegexString = "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-... constant base64URLRegexString (line 28) | base64URLRegexString = "^(?:[A-Za-z0-9-_]{4})*(?:[A-Za-z0-9-... constant base64RawURLRegexString (line 29) | base64RawURLRegexString = "^(?:[A-Za-z0-9-_]{4})*(?:[A-Za-z0-9-... constant iSBN10RegexString (line 30) | iSBN10RegexString = "^(?:[0-9]{9}X|[0-9]{10})$" constant iSBN13RegexString (line 31) | iSBN13RegexString = "^(?:(?:97(?:8|9))[0-9]{10})$" constant iSSNRegexString (line 32) | iSSNRegexString = "^(?:[0-9]{4}-[0-9]{3}[0-9X])$" constant uUID3RegexString (line 33) | uUID3RegexString = "^[0-9a-f]{8}-[0-9a-f]{4}-3[0-9a-f]{3... constant uUID4RegexString (line 34) | uUID4RegexString = "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3... constant uUID5RegexString (line 35) | uUID5RegexString = "^[0-9a-f]{8}-[0-9a-f]{4}-5[0-9a-f]{3... constant uUIDRegexString (line 36) | uUIDRegexString = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}... constant uUID3RFC4122RegexString (line 37) | uUID3RFC4122RegexString = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-3[0-9... constant uUID4RFC4122RegexString (line 38) | uUID4RFC4122RegexString = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9... constant uUID5RFC4122RegexString (line 39) | uUID5RFC4122RegexString = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-5[0-9... constant uUIDRFC4122RegexString (line 40) | uUIDRFC4122RegexString = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a... constant uLIDRegexString (line 41) | uLIDRegexString = "^(?i)[A-HJKMNP-TV-Z0-9]{26}$" constant md4RegexString (line 42) | md4RegexString = "^[0-9a-f]{32}$" constant md5RegexString (line 43) | md5RegexString = "^[0-9a-f]{32}$" constant sha256RegexString (line 44) | sha256RegexString = "^[0-9a-f]{64}$" constant sha384RegexString (line 45) | sha384RegexString = "^[0-9a-f]{96}$" constant sha512RegexString (line 46) | sha512RegexString = "^[0-9a-f]{128}$" constant ripemd128RegexString (line 47) | ripemd128RegexString = "^[0-9a-f]{32}$" constant ripemd160RegexString (line 48) | ripemd160RegexString = "^[0-9a-f]{40}$" constant tiger128RegexString (line 49) | tiger128RegexString = "^[0-9a-f]{32}$" constant tiger160RegexString (line 50) | tiger160RegexString = "^[0-9a-f]{40}$" constant tiger192RegexString (line 51) | tiger192RegexString = "^[0-9a-f]{48}$" constant aSCIIRegexString (line 52) | aSCIIRegexString = "^[\x00-\x7F]*$" constant printableASCIIRegexString (line 53) | printableASCIIRegexString = "^[\x20-\x7E]*$" constant multibyteRegexString (line 54) | multibyteRegexString = "[^\x00-\x7F]" constant dataURIRegexString (line 55) | dataURIRegexString = `^data:((?:\w+\/(?:([^;]|;[^;]).)+)?)` constant latitudeRegexString (line 56) | latitudeRegexString = "^[-+]?([1-8]?\\d(\\.\\d+)?|90(\\.0+)... constant longitudeRegexString (line 57) | longitudeRegexString = "^[-+]?(180(\\.0+)?|((1[0-7]\\d)|([1-... constant sSNRegexString (line 58) | sSNRegexString = `^[0-9]{3}[ -]?(0[1-9]|[1-9][0-9])[ -... constant hostnameRegexStringRFC952 (line 59) | hostnameRegexStringRFC952 = `^[a-zA-Z]([a-zA-Z0-9\-]+[\.]?)*[a-zA... constant hostnameRegexStringRFC1123 (line 60) | hostnameRegexStringRFC1123 = `^([a-zA-Z0-9]{1}[a-zA-Z0-9-]{0,62}){... constant fqdnRegexStringRFC1123 (line 61) | fqdnRegexStringRFC1123 = `^([a-zA-Z0-9]{1}[a-zA-Z0-9-]{0,62})(... constant btcAddressRegexString (line 62) | btcAddressRegexString = `^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$` constant btcAddressUpperRegexStringBech32 (line 63) | btcAddressUpperRegexStringBech32 = `^BC1[02-9AC-HJ-NP-Z]{7,76}$` constant btcAddressLowerRegexStringBech32 (line 64) | btcAddressLowerRegexStringBech32 = `^bc1[02-9ac-hj-np-z]{7,76}$` constant ethAddressRegexString (line 65) | ethAddressRegexString = `^0x[0-9a-fA-F]{40}$` constant ethAddressUpperRegexString (line 66) | ethAddressUpperRegexString = `^0x[0-9A-F]{40}$` constant ethAddressLowerRegexString (line 67) | ethAddressLowerRegexString = `^0x[0-9a-f]{40}$` constant uRLEncodedRegexString (line 68) | uRLEncodedRegexString = `^(?:[^%]|%[0-9A-Fa-f]{2})*$` constant hTMLEncodedRegexString (line 69) | hTMLEncodedRegexString = `&#[x]?([0-9a-fA-F]{2})|(>)|(<)|(... constant hTMLRegexString (line 70) | hTMLRegexString = `<[/]?([a-zA-Z]+).*?>` constant jWTRegexString (line 71) | jWTRegexString = "^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[... constant splitParamsRegexString (line 72) | splitParamsRegexString = `'[^']*'|\S+` constant bic2014RegexString (line 73) | bic2014RegexString = `^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-... constant bic2022RegexString (line 74) | bic2022RegexString = `^[A-Z0-9]{4}[A-Z]{2}[A-Z0-9]{2}(?:[A... constant semverRegexString (line 75) | semverRegexString = `^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9... constant dnsRegexStringRFC1035Label (line 76) | dnsRegexStringRFC1035Label = "^[a-z]([-a-z0-9]*[a-z0-9])?$" constant cveRegexString (line 77) | cveRegexString = `^CVE-(1999|2\d{3})-(0[^0]\d{2}|0\d[^... constant mongodbIdRegexString (line 78) | mongodbIdRegexString = "^[a-f\\d]{24}$" constant mongodbConnStringRegexString (line 79) | mongodbConnStringRegexString = "^mongodb(\\+srv)?:\\/\\/(([a-zA-Z\\d... constant cronRegexString (line 80) | cronRegexString = `(@(annually|yearly|monthly|weekly|da... constant spicedbIDRegexString (line 81) | spicedbIDRegexString = `^(([a-zA-Z0-9/_|\-=+]{1,})|\*)$` constant spicedbPermissionRegexString (line 82) | spicedbPermissionRegexString = "^([a-z][a-z0-9_]{1,62}[a-z0-9])?$" constant spicedbTypeRegexString (line 83) | spicedbTypeRegexString = "^([a-z][a-z0-9_]{1,61}[a-z0-9]/)?[a-... constant einRegexString (line 84) | einRegexString = "^(\\d{2}-\\d{7})$" function lazyRegexCompile (line 87) | func lazyRegexCompile(str string) func() *regexp.Regexp { FILE: struct_level.go type StructLevelFunc (line 9) | type StructLevelFunc type StructLevelFuncCtx (line 13) | type StructLevelFuncCtx function wrapStructLevelFunc (line 16) | func wrapStructLevelFunc(fn StructLevelFunc) StructLevelFuncCtx { type StructLevel (line 24) | type StructLevel interface method Top (line 78) | func (v *validate) Top() reflect.Value { method Parent (line 89) | func (v *validate) Parent() reflect.Value { method Current (line 94) | func (v *validate) Current() reflect.Value { method Validator (line 99) | func (v *validate) Validator() *Validate { method ExtractType (line 104) | func (v *validate) ExtractType(field reflect.Value) (reflect.Value, refl... method ReportError (line 109) | func (v *validate) ReportError(field interface{}, fieldName, structField... method ReportValidationErrors (line 161) | func (v *validate) ReportValidationErrors(relativeNamespace, relativeStr... FILE: translations.go type TranslationFunc (line 7) | type TranslationFunc type RegisterTranslationsFunc (line 11) | type RegisterTranslationsFunc FILE: translations/ar/ar.go function RegisterDefaultTranslations (line 17) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1409) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1415) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/ar/ar_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/de/de.go function RegisterDefaultTranslations (line 19) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1469) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1479) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/de/de_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/en/en.go function RegisterDefaultTranslations (line 19) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1538) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1548) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/en/en_test.go type Foo (line 13) | type Foo struct method IsBar (line 15) | func (Foo) IsBar() bool { return false } function TestTranslations (line 17) | func TestTranslations(t *testing.T) { FILE: translations/es/es.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1323) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1333) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/es/es_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/fa/fa.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1375) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1385) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/fa/fa_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/fr/fr.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1308) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1318) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/fr/fr_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/id/id.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1543) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1553) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { function translateFuncWithParam (line 1563) | func translateFuncWithParam(ut ut.Translator, fe validator.FieldError) s... FILE: translations/id/id_test.go function InitValidator (line 14) | func InitValidator() (*validator.Validate, ut.Translator, error) { function TestFieldTagsTranslations (line 33) | func TestFieldTagsTranslations(t *testing.T) { function TestNetworkTagsTranslations (line 217) | func TestNetworkTagsTranslations(t *testing.T) { function TestStringTagsTranslations (line 394) | func TestStringTagsTranslations(t *testing.T) { function TestFormatTagsTranslations (line 583) | func TestFormatTagsTranslations(t *testing.T) { function TestComparisonTagsTranslations (line 942) | func TestComparisonTagsTranslations(t *testing.T) { function TestOtherTagsTranslations (line 1134) | func TestOtherTagsTranslations(t *testing.T) { function TestAliasesTagsTranslations (line 1355) | func TestAliasesTagsTranslations(t *testing.T) { FILE: translations/it/it.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1237) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1247) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { function customTransFuncV1 (line 1257) | func customTransFuncV1(ut ut.Translator, fe validator.FieldError) string { FILE: translations/it/it_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/ja/ja.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1440) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1450) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/ja/ja_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/ko/ko.go function RegisterDefaultTranslations (line 19) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1485) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1495) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/ko/ko_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/lv/lv.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1385) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1395) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/lv/lv_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/nl/nl.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1308) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1318) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/nl/nl_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/pl/pl.go function RegisterDefaultTranslations (line 19) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1202) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1212) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { function translateFuncWithParam (line 1222) | func translateFuncWithParam(ut ut.Translator, fe validator.FieldError) s... function registerCardinals (line 1232) | func registerCardinals(ut ut.Translator, prefix string) (err error) { FILE: translations/pl/pl_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/pt/pt.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1344) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1354) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/pt/pt_test.go function TestTranslations (line 14) | func TestTranslations(t *testing.T) { FILE: translations/pt_BR/pt_BR.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1321) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1331) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/pt_BR/pt_BR_test.go type Foo (line 13) | type Foo struct method IsBar (line 15) | func (Foo) IsBar() bool { return false } function TestTranslations (line 17) | func TestTranslations(t *testing.T) { FILE: translations/ru/ru.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1431) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1441) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/ru/ru_test.go function TestTranslations (line 15) | func TestTranslations(t *testing.T) { FILE: translations/th/th.go function RegisterDefaultTranslations (line 19) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1353) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1363) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/th/th_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/tr/tr.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1312) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1322) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/tr/tr_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/uk/uk.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1195) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1205) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { function translateFuncWithParam (line 1215) | func translateFuncWithParam(ut ut.Translator, fe validator.FieldError) s... function registerCardinals (line 1225) | func registerCardinals(ut ut.Translator, prefix string) (err error) { FILE: translations/uk/uk_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/vi/vi.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1375) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1385) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/vi/vi_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/zh/zh.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1450) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1460) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/zh/zh_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: translations/zh_tw/zh_tw.go function RegisterDefaultTranslations (line 18) | func RegisterDefaultTranslations(v *validator.Validate, trans ut.Transla... function registrationFunc (line 1381) | func registrationFunc(tag string, translation string, override bool) val... function translateFunc (line 1391) | func translateFunc(ut ut.Translator, fe validator.FieldError) string { FILE: translations/zh_tw/zh_tw_test.go function TestTranslations (line 13) | func TestTranslations(t *testing.T) { FILE: util.go type Valuer (line 14) | type Valuer interface method extractTypeInternal (line 22) | func (v *validate) extractTypeInternal(current reflect.Value, nullable b... method getStructFieldOKInternal (line 89) | func (v *validate) getStructFieldOKInternal(val reflect.Value, namespace... function asInt (line 252) | func asInt(param string) int64 { function asIntFromTimeDuration (line 261) | func asIntFromTimeDuration(param string) int64 { function asIntFromType (line 272) | func asIntFromType(t reflect.Type, param string) int64 { function asUint (line 283) | func asUint(param string) uint64 { function asFloat64 (line 292) | func asFloat64(param string) float64 { function asFloat32 (line 300) | func asFloat32(param string) float64 { function asBool (line 308) | func asBool(param string) bool { function panicIf (line 315) | func panicIf(err error) { function fieldMatchesRegexByStringerValOrString (line 323) | func fieldMatchesRegexByStringerValOrString(regexFn func() *regexp.Regex... FILE: validator.go type validate (line 12) | type validate struct method validateStruct (line 34) | func (v *validate) validateStruct(ctx context.Context, parent reflect.... method traverseField (line 90) | func (v *validate) traverseField(ctx context.Context, parent reflect.V... function getValue (line 502) | func getValue(val reflect.Value) interface{} { FILE: validator_instance.go constant defaultTagName (line 16) | defaultTagName = "validate" constant utf8HexComma (line 17) | utf8HexComma = "0x2C" constant utf8Pipe (line 18) | utf8Pipe = "0x7C" constant tagSeparator (line 19) | tagSeparator = "," constant orSeparator (line 20) | orSeparator = "|" constant tagKeySeparator (line 21) | tagKeySeparator = "=" constant structOnlyTag (line 22) | structOnlyTag = "structonly" constant noStructLevelTag (line 23) | noStructLevelTag = "nostructlevel" constant omitzero (line 24) | omitzero = "omitzero" constant omitempty (line 25) | omitempty = "omitempty" constant omitnil (line 26) | omitnil = "omitnil" constant isdefault (line 27) | isdefault = "isdefault" constant requiredWithoutAllTag (line 28) | requiredWithoutAllTag = "required_without_all" constant requiredWithoutTag (line 29) | requiredWithoutTag = "required_without" constant requiredWithTag (line 30) | requiredWithTag = "required_with" constant requiredWithAllTag (line 31) | requiredWithAllTag = "required_with_all" constant requiredIfTag (line 32) | requiredIfTag = "required_if" constant requiredUnlessTag (line 33) | requiredUnlessTag = "required_unless" constant skipUnlessTag (line 34) | skipUnlessTag = "skip_unless" constant excludedWithoutAllTag (line 35) | excludedWithoutAllTag = "excluded_without_all" constant excludedWithoutTag (line 36) | excludedWithoutTag = "excluded_without" constant excludedWithTag (line 37) | excludedWithTag = "excluded_with" constant excludedWithAllTag (line 38) | excludedWithAllTag = "excluded_with_all" constant excludedIfTag (line 39) | excludedIfTag = "excluded_if" constant excludedUnlessTag (line 40) | excludedUnlessTag = "excluded_unless" constant skipValidationTag (line 41) | skipValidationTag = "-" constant diveTag (line 42) | diveTag = "dive" constant keysTag (line 43) | keysTag = "keys" constant endKeysTag (line 44) | endKeysTag = "endkeys" constant requiredTag (line 45) | requiredTag = "required" constant namespaceSeparator (line 46) | namespaceSeparator = "." constant leftBracket (line 47) | leftBracket = "[" constant rightBracket (line 48) | rightBracket = "]" constant restrictedTagChars (line 49) | restrictedTagChars = ".[],|=+()`~!@#$%^&*\\\"/?<>{}" constant restrictedAliasErr (line 50) | restrictedAliasErr = "Alias '%s' either contains restricted character... constant restrictedTagErr (line 51) | restrictedTagErr = "Tag '%s' either contains restricted characters ... type FilterFunc (line 67) | type FilterFunc type CustomTypeFunc (line 72) | type CustomTypeFunc type TagNameFunc (line 75) | type TagNameFunc type internalValidationFuncWrapper (line 77) | type internalValidationFuncWrapper struct type Validate (line 83) | type Validate struct method SetTagName (line 158) | func (v *Validate) SetTagName(name string) { method ValidateMapCtx (line 164) | func (v Validate) ValidateMapCtx(ctx context.Context, data map[string]... method ValidateMap (line 194) | func (v *Validate) ValidateMap(data map[string]interface{}, rules map[... method RegisterTagNameFunc (line 210) | func (v *Validate) RegisterTagNameFunc(fn TagNameFunc) { method RegisterValidation (line 220) | func (v *Validate) RegisterValidation(tag string, fn Func, callValidat... method RegisterValidationCtx (line 226) | func (v *Validate) RegisterValidationCtx(tag string, fn FuncCtx, callV... method RegisterAlias (line 239) | func (v *Validate) RegisterAlias(alias, tags string) { method RegisterStructValidation (line 253) | func (v *Validate) RegisterStructValidation(fn StructLevelFunc, types ... method RegisterStructValidationCtx (line 262) | func (v *Validate) RegisterStructValidationCtx(fn StructLevelFuncCtx, ... method RegisterStructValidationMapRules (line 281) | func (v *Validate) RegisterStructValidationMapRules(rules map[string]s... method RegisterCustomTypeFunc (line 308) | func (v *Validate) RegisterCustomTypeFunc(fn CustomTypeFunc, types ...... method RegisterTranslation (line 321) | func (v *Validate) RegisterTranslation(tag string, trans ut.Translator... method Struct (line 345) | func (v *Validate) Struct(s interface{}) error { method StructCtx (line 354) | func (v *Validate) StructCtx(ctx context.Context, s interface{}) (err ... method StructFiltered (line 389) | func (v *Validate) StructFiltered(s interface{}, fn FilterFunc) error { method StructFilteredCtx (line 399) | func (v *Validate) StructFilteredCtx(ctx context.Context, s interface{... method StructPartial (line 436) | func (v *Validate) StructPartial(s interface{}, fields ...string) error { method StructPartialCtx (line 447) | func (v *Validate) StructPartialCtx(ctx context.Context, s interface{}... method StructExcept (line 522) | func (v *Validate) StructExcept(s interface{}, fields ...string) error { method StructExceptCtx (line 533) | func (v *Validate) StructExceptCtx(ctx context.Context, s interface{},... method Var (line 593) | func (v *Validate) Var(field interface{}, tag string) error { method VarCtx (line 611) | func (v *Validate) VarCtx(ctx context.Context, field interface{}, tag ... method VarWithValue (line 646) | func (v *Validate) VarWithValue(field interface{}, other interface{}, ... method VarWithValueCtx (line 665) | func (v *Validate) VarWithValueCtx(ctx context.Context, field interfac... method VarWithKey (line 697) | func (v *Validate) VarWithKey(key string, field interface{}, tag strin... method VarWithKeyCtx (line 715) | func (v *Validate) VarWithKeyCtx(ctx context.Context, key string, fiel... method registerValidation (line 742) | func (v *Validate) registerValidation(tag string, fn FuncCtx, bakedIn ... function New (line 106) | func New(options ...Option) *Validate { FILE: validator_test.go type I (line 49) | type I interface type Impl (line 53) | type Impl struct method Foo (line 57) | func (i *Impl) Foo() string { type SubTest (line 61) | type SubTest struct type TestInterface (line 65) | type TestInterface struct type TestString (line 69) | type TestString struct type TestUint64 (line 90) | type TestUint64 struct type TestFloat64 (line 99) | type TestFloat64 struct type TestSlice (line 109) | type TestSlice struct function AssertError (line 118) | func AssertError(t *testing.T, err error, nsKey, structNsKey, field, str... function AssertDeepError (line 139) | func AssertDeepError(t *testing.T, err error, nsKey, structNsKey, field,... function getError (line 159) | func getError(err error, nsKey, structNsKey string) FieldError { type valuer (line 174) | type valuer struct method Value (line 178) | func (v valuer) Value() (driver.Value, error) { type MadeUpCustomType (line 191) | type MadeUpCustomType struct function ValidateCustomType (line 196) | func ValidateCustomType(field reflect.Value) interface{} { function OverrideIntTypeForSomeReason (line 208) | func OverrideIntTypeForSomeReason(field reflect.Value) interface{} { type CustomMadeUpStruct (line 222) | type CustomMadeUpStruct struct function ValidateValuerType (line 227) | func ValidateValuerType(field reflect.Value) interface{} { type TestPartial (line 241) | type TestPartial struct type TestStruct (line 259) | type TestStruct struct function StructValidationTestStructSuccess (line 263) | func StructValidationTestStructSuccess(sl StructLevel) { function StructValidationTestStruct (line 271) | func StructValidationTestStruct(sl StructLevel) { function StructValidationNoTestStructCustomName (line 279) | func StructValidationNoTestStructCustomName(sl StructLevel) { function StructValidationTestStructInvalid (line 287) | func StructValidationTestStructInvalid(sl StructLevel) { function StructValidationTestStructReturnValidationErrors (line 295) | func StructValidationTestStructReturnValidationErrors(sl StructLevel) { function StructValidationTestStructReturnValidationErrors2 (line 306) | func StructValidationTestStructReturnValidationErrors2(sl StructLevel) { type TestStructReturnValidationErrorsInner2 (line 317) | type TestStructReturnValidationErrorsInner2 struct type TestStructReturnValidationErrorsInner1 (line 321) | type TestStructReturnValidationErrorsInner1 struct type TestStructReturnValidationErrors (line 325) | type TestStructReturnValidationErrors struct type StructLevelInvalidErr (line 329) | type StructLevelInvalidErr struct function StructLevelInvalidError (line 333) | func StructLevelInvalidError(sl StructLevel) { function stringPtr (line 342) | func stringPtr(v string) *string { function intPtr (line 346) | func intPtr(v int) *int { function float64Ptr (line 350) | func float64Ptr(v float64) *float64 { function TestStructLevelInvalidError (line 354) | func TestStructLevelInvalidError(t *testing.T) { function TestNameNamespace (line 377) | func TestNameNamespace(t *testing.T) { function TestAnonymous (line 425) | func TestAnonymous(t *testing.T) { function TestAnonymousSameStructDifferentTags (line 492) | func TestAnonymousSameStructDifferentTags(t *testing.T) { function TestStructLevelReturnValidationErrors (line 536) | func TestStructLevelReturnValidationErrors(t *testing.T) { function TestStructLevelReturnValidationErrorsWithJSON (line 565) | func TestStructLevelReturnValidationErrorsWithJSON(t *testing.T) { function TestStructLevelValidations (line 621) | func TestStructLevelValidations(t *testing.T) { function TestAliasTags (line 654) | func TestAliasTags(t *testing.T) { function TestAliasWithOrOperator (line 701) | func TestAliasWithOrOperator(t *testing.T) { function TestNilValidator (line 763) | func TestNilValidator(t *testing.T) { function TestStructPartial (line 785) | func TestStructPartial(t *testing.T) { function TestCrossStructLteFieldValidation (line 1029) | func TestCrossStructLteFieldValidation(t *testing.T) { function TestCrossStructLtFieldValidation (line 1196) | func TestCrossStructLtFieldValidation(t *testing.T) { function TestCrossStructGteFieldValidation (line 1352) | func TestCrossStructGteFieldValidation(t *testing.T) { function TestCrossStructGtFieldValidation (line 1518) | func TestCrossStructGtFieldValidation(t *testing.T) { function TestCrossStructNeFieldValidation (line 1674) | func TestCrossStructNeFieldValidation(t *testing.T) { function TestCrossStructEqFieldValidation (line 1846) | func TestCrossStructEqFieldValidation(t *testing.T) { function TestCrossNamespaceFieldValidation (line 2016) | func TestCrossNamespaceFieldValidation(t *testing.T) { function TestExistsValidation (line 2257) | func TestExistsValidation(t *testing.T) { function TestSQLValue2Validation (line 2287) | func TestSQLValue2Validation(t *testing.T) { function TestSQLValueValidation (line 2337) | func TestSQLValueValidation(t *testing.T) { function TestMACValidation (line 2394) | func TestMACValidation(t *testing.T) { function TestIPValidation (line 2430) | func TestIPValidation(t *testing.T) { function TestIPv6Validation (line 2470) | func TestIPv6Validation(t *testing.T) { function TestIPv4Validation (line 2509) | func TestIPv4Validation(t *testing.T) { function TestCIDRValidation (line 2548) | func TestCIDRValidation(t *testing.T) { function TestCIDRv6Validation (line 2590) | func TestCIDRv6Validation(t *testing.T) { function TestCIDRv4Validation (line 2632) | func TestCIDRv4Validation(t *testing.T) { function TestTCPAddrValidation (line 2681) | func TestTCPAddrValidation(t *testing.T) { function TestTCP6AddrValidation (line 2715) | func TestTCP6AddrValidation(t *testing.T) { function TestTCP4AddrValidation (line 2749) | func TestTCP4AddrValidation(t *testing.T) { function TestUDPAddrValidation (line 2784) | func TestUDPAddrValidation(t *testing.T) { function TestUDP6AddrValidation (line 2818) | func TestUDP6AddrValidation(t *testing.T) { function TestUDP4AddrValidation (line 2852) | func TestUDP4AddrValidation(t *testing.T) { function TestIPAddrValidation (line 2887) | func TestIPAddrValidation(t *testing.T) { function TestIP6AddrValidation (line 2921) | func TestIP6AddrValidation(t *testing.T) { function TestIP4AddrValidation (line 2955) | func TestIP4AddrValidation(t *testing.T) { function TestUnixAddrValidation (line 2990) | func TestUnixAddrValidation(t *testing.T) { function TestUnixDomainSocketExistsValidation (line 3021) | func TestUnixDomainSocketExistsValidation(t *testing.T) { function TestSliceMapArrayChanFuncPtrInterfaceRequiredValidation (line 3113) | func TestSliceMapArrayChanFuncPtrInterfaceRequiredValidation(t *testing.... function TestDatePtrValidationIssueValidation (line 3190) | func TestDatePtrValidationIssueValidation(t *testing.T) { function TestCommaAndPipeObfuscationValidation (line 3203) | func TestCommaAndPipeObfuscationValidation(t *testing.T) { function TestBadKeyValidation (line 3217) | func TestBadKeyValidation(t *testing.T) { function TestInterfaceErrValidation (line 3241) | func TestInterfaceErrValidation(t *testing.T) { function TestMapDiveValidation (line 3414) | func TestMapDiveValidation(t *testing.T) { function TestArrayDiveValidation (line 3551) | func TestArrayDiveValidation(t *testing.T) { function TestNilStructPointerValidation (line 3769) | func TestNilStructPointerValidation(t *testing.T) { function TestSSNValidation (line 3863) | func TestSSNValidation(t *testing.T) { function TestLongitudeValidation (line 3897) | func TestLongitudeValidation(t *testing.T) { function TestLatitudeValidation (line 3938) | func TestLatitudeValidation(t *testing.T) { function TestDataURIValidation (line 3979) | func TestDataURIValidation(t *testing.T) { function TestMultibyteValidation (line 4026) | func TestMultibyteValidation(t *testing.T) { function TestPrintableASCIIValidation (line 4065) | func TestPrintableASCIIValidation(t *testing.T) { function TestASCIIValidation (line 4107) | func TestASCIIValidation(t *testing.T) { function TestUUID5Validation (line 4148) | func TestUUID5Validation(t *testing.T) { function TestUUID4Validation (line 4183) | func TestUUID4Validation(t *testing.T) { function TestUUID3Validation (line 4218) | func TestUUID3Validation(t *testing.T) { type uuidTestType (line 4252) | type uuidTestType struct method String (line 4256) | func (u uuidTestType) String() string { type uuidAlias (line 4260) | type uuidAlias method String (line 4262) | func (u uuidAlias) String() string { function TestUUIDValidation (line 4271) | func TestUUIDValidation(t *testing.T) { function TestUUID5RFC4122Validation (line 4333) | func TestUUID5RFC4122Validation(t *testing.T) { function TestUUID4RFC4122Validation (line 4368) | func TestUUID4RFC4122Validation(t *testing.T) { function TestUUID3RFC4122Validation (line 4403) | func TestUUID3RFC4122Validation(t *testing.T) { function TestUUIDRFC4122Validation (line 4437) | func TestUUIDRFC4122Validation(t *testing.T) { function TestULIDValidation (line 4474) | func TestULIDValidation(t *testing.T) { function TestMD4Validation (line 4513) | func TestMD4Validation(t *testing.T) { function TestMD5Validation (line 4548) | func TestMD5Validation(t *testing.T) { function TestSHA256Validation (line 4583) | func TestSHA256Validation(t *testing.T) { function TestSHA384Validation (line 4617) | func TestSHA384Validation(t *testing.T) { function TestSHA512Validation (line 4652) | func TestSHA512Validation(t *testing.T) { function TestRIPEMD128Validation (line 4687) | func TestRIPEMD128Validation(t *testing.T) { function TestRIPEMD160Validation (line 4722) | func TestRIPEMD160Validation(t *testing.T) { function TestTIGER128Validation (line 4757) | func TestTIGER128Validation(t *testing.T) { function TestTIGER160Validation (line 4792) | func TestTIGER160Validation(t *testing.T) { function TestTIGER192Validation (line 4827) | func TestTIGER192Validation(t *testing.T) { function TestISBNValidation (line 4862) | func TestISBNValidation(t *testing.T) { function TestISBN13Validation (line 4901) | func TestISBN13Validation(t *testing.T) { function TestISBN10Validation (line 4939) | func TestISBN10Validation(t *testing.T) { function TestISSNValidation (line 4978) | func TestISSNValidation(t *testing.T) { function TestExcludesRuneValidation (line 5014) | func TestExcludesRuneValidation(t *testing.T) { function TestExcludesAllValidation (line 5041) | func TestExcludesAllValidation(t *testing.T) { function TestExcludesValidation (line 5086) | func TestExcludesValidation(t *testing.T) { function TestContainsRuneValidation (line 5113) | func TestContainsRuneValidation(t *testing.T) { function TestContainsAnyValidation (line 5140) | func TestContainsAnyValidation(t *testing.T) { function TestContainsValidation (line 5167) | func TestContainsValidation(t *testing.T) { function TestIsNeFieldValidation (line 5194) | func TestIsNeFieldValidation(t *testing.T) { function TestIsNeValidation (line 5354) | func TestIsNeValidation(t *testing.T) { function TestIsNeIgnoreCaseValidation (line 5434) | func TestIsNeIgnoreCaseValidation(t *testing.T) { function TestIsEqFieldValidation (line 5452) | func TestIsEqFieldValidation(t *testing.T) { function TestIsEqFieldValidationWithAliasTime (line 5625) | func TestIsEqFieldValidationWithAliasTime(t *testing.T) { function TestIsEqValidation (line 5647) | func TestIsEqValidation(t *testing.T) { function TestIsEqIgnoreCaseValidation (line 5729) | func TestIsEqIgnoreCaseValidation(t *testing.T) { function TestOneOfValidation (line 5746) | func TestOneOfValidation(t *testing.T) { function TestOneOfCIValidation (line 5809) | func TestOneOfCIValidation(t *testing.T) { function TestBase32Validation (line 5885) | func TestBase32Validation(t *testing.T) { function TestBase64Validation (line 5919) | func TestBase64Validation(t *testing.T) { function TestBase64URLValidation (line 5942) | func TestBase64URLValidation(t *testing.T) { function TestBase64RawURLValidation (line 5989) | func TestBase64RawURLValidation(t *testing.T) { function TestFileValidation (line 6036) | func TestFileValidation(t *testing.T) { function TestImageValidation (line 6069) | func TestImageValidation(t *testing.T) { function TestFilePathValidation (line 6181) | func TestFilePathValidation(t *testing.T) { function TestEthereumAddressValidation (line 6215) | func TestEthereumAddressValidation(t *testing.T) { function TestEthereumAddressChecksumValidation (line 6267) | func TestEthereumAddressChecksumValidation(t *testing.T) { function TestBitcoinAddressValidation (line 6316) | func TestBitcoinAddressValidation(t *testing.T) { function TestBitcoinBech32AddressValidation (line 6424) | func TestBitcoinBech32AddressValidation(t *testing.T) { function TestNoStructLevelValidation (line 6473) | func TestNoStructLevelValidation(t *testing.T) { function TestStructOnlyValidation (line 6533) | func TestStructOnlyValidation(t *testing.T) { function TestGtField (line 6621) | func TestGtField(t *testing.T) { function TestLtField (line 6850) | func TestLtField(t *testing.T) { function TestFieldContains (line 7059) | func TestFieldContains(t *testing.T) { function TestFieldExcludes (line 7108) | func TestFieldExcludes(t *testing.T) { function TestContainsAndExcludes (line 7155) | func TestContainsAndExcludes(t *testing.T) { function TestLteField (line 7182) | func TestLteField(t *testing.T) { function TestGteField (line 7392) | func TestGteField(t *testing.T) { function TestValidateByTagAndValue (line 7602) | func TestValidateByTagAndValue(t *testing.T) { function TestAddFunctions (line 7627) | func TestAddFunctions(t *testing.T) { function TestChangeTag (line 7656) | func TestChangeTag(t *testing.T) { function TestUnexposedStruct (line 7677) | func TestUnexposedStruct(t *testing.T) { function TestBadParams (line 7696) | func TestBadParams(t *testing.T) { function TestLength (line 7712) | func TestLength(t *testing.T) { function TestIsGt (line 7718) | func TestIsGt(t *testing.T) { function TestIsGte (line 7817) | func TestIsGte(t *testing.T) { function TestMinValidation (line 7900) | func TestMinValidation(t *testing.T) { function TestMaxValidation (line 7950) | func TestMaxValidation(t *testing.T) { function TestMinMaxValidation (line 8000) | func TestMinMaxValidation(t *testing.T) { function TestLenValidation (line 8066) | func TestLenValidation(t *testing.T) { function TestIsLt (line 8118) | func TestIsLt(t *testing.T) { function TestIsLte (line 8219) | func TestIsLte(t *testing.T) { function TestUrnRFC2141 (line 8302) | func TestUrnRFC2141(t *testing.T) { function TestUrl (line 8377) | func TestUrl(t *testing.T) { function TestHttpUrl (line 8453) | func TestHttpUrl(t *testing.T) { function TestHttpsUrl (line 8527) | func TestHttpsUrl(t *testing.T) { function TestUri (line 8601) | func TestUri(t *testing.T) { function TestOrTag (line 8666) | func TestOrTag(t *testing.T) { function TestCmyk (line 8732) | func TestCmyk(t *testing.T) { function TestHsla (line 8773) | func TestHsla(t *testing.T) { function TestHsl (line 8819) | func TestHsl(t *testing.T) { function TestRgba (line 8856) | func TestRgba(t *testing.T) { function TestRgb (line 8901) | func TestRgb(t *testing.T) { function TestE164 (line 8942) | func TestE164(t *testing.T) { function TestEmail (line 8973) | func TestEmail(t *testing.T) { function TestHexColor (line 9054) | func TestHexColor(t *testing.T) { function TestHexadecimal (line 9081) | func TestHexadecimal(t *testing.T) { function TestNumber (line 9107) | func TestNumber(t *testing.T) { function TestNumeric (line 9154) | func TestNumeric(t *testing.T) { function TestBoolean (line 9196) | func TestBoolean(t *testing.T) { function TestAlphaNumeric (line 9234) | func TestAlphaNumeric(t *testing.T) { function TestAlpha (line 9251) | func TestAlpha(t *testing.T) { function TestAlphaSpace (line 9283) | func TestAlphaSpace(t *testing.T) { function TestAlphaNumericSpace (line 9308) | func TestAlphaNumericSpace(t *testing.T) { function TestStructStringValidation (line 9375) | func TestStructStringValidation(t *testing.T) { function TestStructInt32Validation (line 9459) | func TestStructInt32Validation(t *testing.T) { function TestStructUint64Validation (line 9522) | func TestStructUint64Validation(t *testing.T) { function TestStructFloat64Validation (line 9561) | func TestStructFloat64Validation(t *testing.T) { function TestStructSliceValidation (line 9600) | func TestStructSliceValidation(t *testing.T) { function TestInvalidStruct (line 9652) | func TestInvalidStruct(t *testing.T) { function TestInvalidValidatorFunction (line 9676) | func TestInvalidValidatorFunction(t *testing.T) { function TestCustomFieldName (line 9686) | func TestCustomFieldName(t *testing.T) { function TestMultipleRecursiveExtractStructCache (line 9729) | func TestMultipleRecursiveExtractStructCache(t *testing.T) { function TestPointerAndOmitEmpty (line 9757) | func TestPointerAndOmitEmpty(t *testing.T) { function TestRequired (line 9802) | func TestRequired(t *testing.T) { function TestBoolEqual (line 9825) | func TestBoolEqual(t *testing.T) { function TestTranslations (line 9843) | func TestTranslations(t *testing.T) { function TestTranslationErrors (line 9945) | func TestTranslationErrors(t *testing.T) { function TestStructFiltered (line 9976) | func TestStructFiltered(t *testing.T) { function TestRequiredPtr (line 10139) | func TestRequiredPtr(t *testing.T) { function TestAlphaUnicodeValidation (line 10231) | func TestAlphaUnicodeValidation(t *testing.T) { function TestAlphanumericUnicodeValidation (line 10271) | func TestAlphanumericUnicodeValidation(t *testing.T) { function TestArrayStructNamespace (line 10312) | func TestArrayStructNamespace(t *testing.T) { function TestMapStructNamespace (line 10340) | func TestMapStructNamespace(t *testing.T) { function TestFieldLevelName (line 10371) | func TestFieldLevelName(t *testing.T) { function TestValidateStructRegisterCtx (line 10446) | func TestValidateStructRegisterCtx(t *testing.T) { function TestHostnameRFC952Validation (line 10479) | func TestHostnameRFC952Validation(t *testing.T) { function TestHostnameRFC1123Validation (line 10532) | func TestHostnameRFC1123Validation(t *testing.T) { function TestHostnameRFC1123AliasValidation (line 10580) | func TestHostnameRFC1123AliasValidation(t *testing.T) { function TestFQDNValidation (line 10629) | func TestFQDNValidation(t *testing.T) { function TestIsDefault (line 10678) | func TestIsDefault(t *testing.T) { function TestUniqueValidation (line 10733) | func TestUniqueValidation(t *testing.T) { function TestUniqueValidationStructSlice (line 10849) | func TestUniqueValidationStructSlice(t *testing.T) { function TestUniqueValidationStructPtrSlice (line 10891) | func TestUniqueValidationStructPtrSlice(t *testing.T) { function TestUniqueValidationNilPtrSlice (line 10934) | func TestUniqueValidationNilPtrSlice(t *testing.T) { function TestHTMLValidation (line 11042) | func TestHTMLValidation(t *testing.T) { function TestHTMLEncodedValidation (line 11080) | func TestHTMLEncodedValidation(t *testing.T) { function TestURLEncodedValidation (line 11125) | func TestURLEncodedValidation(t *testing.T) { function TestKeys (line 11165) | func TestKeys(t *testing.T) { function TestKeysCustomValidation (line 11271) | func TestKeysCustomValidation(t *testing.T) { function TestKeyOrs (line 11333) | func TestKeyOrs(t *testing.T) { function TestStructLevelValidationsPointerPassing (line 11398) | func TestStructLevelValidationsPointerPassing(t *testing.T) { function TestDirValidation (line 11411) | func TestDirValidation(t *testing.T) { function TestDirPathValidation (line 11446) | func TestDirPathValidation(t *testing.T) { function TestStartsWithValidation (line 11480) | func TestStartsWithValidation(t *testing.T) { function TestEndsWithValidation (line 11507) | func TestEndsWithValidation(t *testing.T) { function TestRequiredIf (line 11534) | func TestRequiredIf(t *testing.T) { function TestRequiredIfDuplicateParams (line 11612) | func TestRequiredIfDuplicateParams(t *testing.T) { function TestRequiredUnless (line 11655) | func TestRequiredUnless(t *testing.T) { function TestSkipUnless (line 11776) | func TestSkipUnless(t *testing.T) { function TestRequiredWith (line 11867) | func TestRequiredWith(t *testing.T) { function TestExcludedWith (line 11930) | func TestExcludedWith(t *testing.T) { function TestExcludedWithout (line 12030) | func TestExcludedWithout(t *testing.T) { function TestExcludedWithAll (line 12124) | func TestExcludedWithAll(t *testing.T) { function TestExcludedWithoutAll (line 12229) | func TestExcludedWithoutAll(t *testing.T) { function TestRequiredWithAll (line 12326) | func TestRequiredWithAll(t *testing.T) { function TestRequiredWithout (line 12388) | func TestRequiredWithout(t *testing.T) { function TestRequiredWithoutAll (line 12487) | func TestRequiredWithoutAll(t *testing.T) { function TestExcludedIf (line 12540) | func TestExcludedIf(t *testing.T) { function TestExcludedUnless (line 12697) | func TestExcludedUnless(t *testing.T) { function TestLookup (line 12827) | func TestLookup(t *testing.T) { function TestAbilityToValidateNils (line 12841) | func TestAbilityToValidateNils(t *testing.T) { function TestRequiredWithoutPointers (line 12865) | func TestRequiredWithoutPointers(t *testing.T) { function TestRequiredWithoutAllPointers (line 12890) | func TestRequiredWithoutAllPointers(t *testing.T) { function TestGetTag (line 12915) | func TestGetTag(t *testing.T) { function TestJSONValidation (line 12934) | func TestJSONValidation(t *testing.T) { function TestJWTValidation (line 13009) | func TestJWTValidation(t *testing.T) { function Test_hostnameport_validator (line 13044) | func Test_hostnameport_validator(t *testing.T) { function Test_port_validator (line 13074) | func Test_port_validator(t *testing.T) { function TestLowercaseValidation (line 13100) | func TestLowercaseValidation(t *testing.T) { function TestUppercaseValidation (line 13136) | func TestUppercaseValidation(t *testing.T) { function TestDatetimeValidation (line 13172) | func TestDatetimeValidation(t *testing.T) { function TestIsIso3166Alpha2Validation (line 13208) | func TestIsIso3166Alpha2Validation(t *testing.T) { function TestIsIso3166Alpha2EUValidation (line 13235) | func TestIsIso3166Alpha2EUValidation(t *testing.T) { function TestIsIso31662Validation (line 13261) | func TestIsIso31662Validation(t *testing.T) { function TestIsIso3166Alpha3Validation (line 13288) | func TestIsIso3166Alpha3Validation(t *testing.T) { function TestIsIso3166Alpha3EUValidation (line 13315) | func TestIsIso3166Alpha3EUValidation(t *testing.T) { function TestIsIso3166AlphaNumericValidation (line 13342) | func TestIsIso3166AlphaNumericValidation(t *testing.T) { function TestIsIso3166AlphaNumericEUValidation (line 13376) | func TestIsIso3166AlphaNumericEUValidation(t *testing.T) { function TestCountryCodeValidation (line 13408) | func TestCountryCodeValidation(t *testing.T) { function TestEUCountryCodeValidation (line 13440) | func TestEUCountryCodeValidation(t *testing.T) { function TestIsIso4217Validation (line 13472) | func TestIsIso4217Validation(t *testing.T) { function TestIsIso4217NumericValidation (line 13508) | func TestIsIso4217NumericValidation(t *testing.T) { function TestTimeZoneValidation (line 13543) | func TestTimeZoneValidation(t *testing.T) { function TestDurationType (line 13583) | func TestDurationType(t *testing.T) { function TestBCP47LanguageTagValidation (line 13626) | func TestBCP47LanguageTagValidation(t *testing.T) { function TestBicIso2014FormatValidation (line 13668) | func TestBicIso2014FormatValidation(t *testing.T) { function TestBicIso2022FormatValidation (line 13708) | func TestBicIso2022FormatValidation(t *testing.T) { function TestSemverFormatValidation (line 13782) | func TestSemverFormatValidation(t *testing.T) { function TestCveFormatValidation (line 13859) | func TestCveFormatValidation(t *testing.T) { function TestRFC1035LabelFormatValidation (line 13902) | func TestRFC1035LabelFormatValidation(t *testing.T) { function TestPostCodeByIso3166Alpha2 (line 13943) | func TestPostCodeByIso3166Alpha2(t *testing.T) { function TestPostCodeByIso3166Alpha2Field (line 13990) | func TestPostCodeByIso3166Alpha2Field(t *testing.T) { function TestPostCodeByIso3166Alpha2Field_WrongField (line 14023) | func TestPostCodeByIso3166Alpha2Field_WrongField(t *testing.T) { function TestPostCodeByIso3166Alpha2Field_MissingParam (line 14034) | func TestPostCodeByIso3166Alpha2Field_MissingParam(t *testing.T) { function TestPostCodeByIso3166Alpha2Field_InvalidKind (line 14045) | func TestPostCodeByIso3166Alpha2Field_InvalidKind(t *testing.T) { function TestValidate_ValidateMapCtx (line 14057) | func TestValidate_ValidateMapCtx(t *testing.T) { function TestValidate_ValidateMapCtxWithKeys (line 14147) | func TestValidate_ValidateMapCtxWithKeys(t *testing.T) { function TestValidateMapWithCrossFieldValidators (line 14231) | func TestValidateMapWithCrossFieldValidators(t *testing.T) { function TestValidate_VarWithKey (line 14293) | func TestValidate_VarWithKey(t *testing.T) { function TestValidate_VarWithKeyCtx (line 14303) | func TestValidate_VarWithKeyCtx(t *testing.T) { function TestMongoDBObjectIDFormatValidation (line 14313) | func TestMongoDBObjectIDFormatValidation(t *testing.T) { function TestMongoDBConnectionStringFormatValidation (line 14349) | func TestMongoDBConnectionStringFormatValidation(t *testing.T) { function TestSpiceDBValueFormatValidation (line 14402) | func TestSpiceDBValueFormatValidation(t *testing.T) { function TestCreditCardFormatValidation (line 14476) | func TestCreditCardFormatValidation(t *testing.T) { function TestLuhnChecksumValidation (line 14516) | func TestLuhnChecksumValidation(t *testing.T) { function TestMultiOrOperatorGroup (line 14561) | func TestMultiOrOperatorGroup(t *testing.T) { function TestCronExpressionValidation (line 14585) | func TestCronExpressionValidation(t *testing.T) { function TestNestedStructValidation (line 14620) | func TestNestedStructValidation(t *testing.T) { function TestTimeRequired (line 14797) | func TestTimeRequired(t *testing.T) { function TestOmitNilAndRequired (line 14820) | func TestOmitNilAndRequired(t *testing.T) { function TestOmitZero (line 14864) | func TestOmitZero(t *testing.T) { function TestEINStringValidation (line 14915) | func TestEINStringValidation(t *testing.T) { function TestPrivateFieldsStruct (line 14945) | func TestPrivateFieldsStruct(t *testing.T) { type NotRed (line 15063) | type NotRed struct method Validate (line 15067) | func (r *NotRed) Validate() error { method IsNotRed (line 15075) | func (r NotRed) IsNotRed() bool { method DoNothing (line 15079) | func (r NotRed) DoNothing() {} method String (line 15081) | func (r NotRed) String() string { return "not red instance" } function TestValidateFn (line 15083) | func TestValidateFn(t *testing.T) { function TestMapStructBasicValidation (line 15206) | func TestMapStructBasicValidation(t *testing.T) { function TestMapStructPointerValidation (line 15223) | func TestMapStructPointerValidation(t *testing.T) { function TestMapStructWithKeyValidationOnly (line 15240) | func TestMapStructWithKeyValidationOnly(t *testing.T) { function TestMapStructWithKeyAndValueValidation (line 15257) | func TestMapStructWithKeyAndValueValidation(t *testing.T) { function TestMapPointerStructWithNilValue (line 15275) | func TestMapPointerStructWithNilValue(t *testing.T) { function TestThreeLevelNestedStructs (line 15292) | func TestThreeLevelNestedStructs(t *testing.T) { function TestMapStructFallbackWithKeysOnly (line 15334) | func TestMapStructFallbackWithKeysOnly(t *testing.T) { function TestMapPointerStructFallback (line 15360) | func TestMapPointerStructFallback(t *testing.T) { function TestMapNonStructValueSkipsFallback (line 15386) | func TestMapNonStructValueSkipsFallback(t *testing.T) { function TestMapSliceValueNoFallback (line 15404) | func TestMapSliceValueNoFallback(t *testing.T) { function TestMapEmptyStructValueNoError (line 15421) | func TestMapEmptyStructValueNoError(t *testing.T) { function TestMapNestedEmptyStructs (line 15441) | func TestMapNestedEmptyStructs(t *testing.T) { function TestMapEmptyValueMap (line 15468) | func TestMapEmptyValueMap(t *testing.T) { function TestMapEmptyPointerStructValueNoError (line 15485) | func TestMapEmptyPointerStructValueNoError(t *testing.T) { function TestOmitZeroWithSlices (line 15504) | func TestOmitZeroWithSlices(t *testing.T) { function TestOmitZeroWithMaps (line 15564) | func TestOmitZeroWithMaps(t *testing.T) { function TestRequiredIfWithNilBytesSlice (line 15624) | func TestRequiredIfWithNilBytesSlice(t *testing.T) { function TestRequiredIfWithMaps (line 15699) | func TestRequiredIfWithMaps(t *testing.T) { function TestRequiredIfWithArrays (line 15774) | func TestRequiredIfWithArrays(t *testing.T) { type ValuerTypeWithPointerReceiver (line 15845) | type ValuerTypeWithPointerReceiver struct method ValidatorValue (line 15849) | func (t *ValuerTypeWithPointerReceiver[T]) ValidatorValue() any { type ValuerTypeWithValueReceiver (line 15853) | type ValuerTypeWithValueReceiver struct method ValidatorValue (line 15857) | func (t ValuerTypeWithValueReceiver[T]) ValidatorValue() any { function TestValuerInterface (line 15861) | func TestValuerInterface(t *testing.T) {