@@ -929,7 +929,7 @@ func isNe(fl FieldLevel) bool {
929929 return ! isEq (fl )
930930}
931931
932- // isNe is the validation function for validating that the field's string value does not equal the
932+ // isNeIgnoreCase is the validation function for validating that the field's string value does not equal the
933933// provided param value. The comparison is case-insensitive
934934func isNeIgnoreCase (fl FieldLevel ) bool {
935935 return ! isEqIgnoreCase (fl )
@@ -1649,7 +1649,7 @@ func hasValue(fl FieldLevel) bool {
16491649 }
16501650}
16511651
1652- // requireCheckField is a func for check field kind
1652+ // requireCheckFieldKind is a func for check field kind
16531653func requireCheckFieldKind (fl FieldLevel , param string , defaultNotFoundValue bool ) bool {
16541654 field := fl .Field ()
16551655 kind := field .Kind ()
@@ -2609,13 +2609,13 @@ func isIso3166Alpha2(fl FieldLevel) bool {
26092609 return iso3166_1_alpha2 [val ]
26102610}
26112611
2612- // isIso3166Alpha2 is the validation function for validating if the current field's value is a valid iso3166-1 alpha-3 country code.
2612+ // isIso3166Alpha3 is the validation function for validating if the current field's value is a valid iso3166-1 alpha-3 country code.
26132613func isIso3166Alpha3 (fl FieldLevel ) bool {
26142614 val := fl .Field ().String ()
26152615 return iso3166_1_alpha3 [val ]
26162616}
26172617
2618- // isIso3166Alpha2 is the validation function for validating if the current field's value is a valid iso3166-1 alpha-numeric country code.
2618+ // isIso3166AlphaNumeric is the validation function for validating if the current field's value is a valid iso3166-1 alpha-numeric country code.
26192619func isIso3166AlphaNumeric (fl FieldLevel ) bool {
26202620 field := fl .Field ()
26212621
0 commit comments