Skip to content

v0.9.1

Latest

Choose a tag to compare

@carlosforero carlosforero released this 19 Aug 02:32

Added

  • ValidatorString.EqualFold and ValidatorStringP.EqualFold for case-insensitive string validation.
  • is.StringEqualFold and is.StringPEqualFold for the equivalent stateless predicates.

Notes

EqualFold uses Go's strings.EqualFold Unicode simple case folding. It does not normalize text or apply full case folding. Pointer comparisons return false for nil values.