From c0b3430b1f90efd08efe1b23bb2b3a766e9b9a74 Mon Sep 17 00:00:00 2001 From: Phil Porada Date: Sun, 19 Mar 2023 14:36:20 -0400 Subject: [PATCH] Fix spelling error in doc (#1078) --- doc.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc.go b/doc.go index 7341c67..7f0a853 100644 --- a/doc.go +++ b/doc.go @@ -232,16 +232,16 @@ require another 'keys' and 'endkeys' tag. These tags are only valid for maps. Example #1 - map[string]string with validation tag "gt=0,dive,keys,eg=1|eq=2,endkeys,required" + map[string]string with validation tag "gt=0,dive,keys,eq=1|eq=2,endkeys,required" // gt=0 will be applied to the map itself - // eg=1|eq=2 will be applied to the map keys + // eq=1|eq=2 will be applied to the map keys // required will be applied to map values Example #2 map[[2]string]string with validation tag "gt=0,dive,keys,dive,eq=1|eq=2,endkeys,required" // gt=0 will be applied to the map itself - // eg=1|eq=2 will be applied to each array element in the the map keys + // eq=1|eq=2 will be applied to each array element in the the map keys // required will be applied to map values Required