Skip to content

Commit 2ed8f7d

Browse files
authored
Fix spelling error in doc (#3)
1 parent a0c7dfc commit 2ed8f7d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,16 +232,16 @@ require another 'keys' and 'endkeys' tag. These tags are only valid for maps.
232232
233233
Example #1
234234
235-
map[string]string with validation tag "gt=0,dive,keys,eg=1|eq=2,endkeys,required"
235+
map[string]string with validation tag "gt=0,dive,keys,eq=1|eq=2,endkeys,required"
236236
// gt=0 will be applied to the map itself
237-
// eg=1|eq=2 will be applied to the map keys
237+
// eq=1|eq=2 will be applied to the map keys
238238
// required will be applied to map values
239239
240240
Example #2
241241
242242
map[[2]string]string with validation tag "gt=0,dive,keys,dive,eq=1|eq=2,endkeys,required"
243243
// gt=0 will be applied to the map itself
244-
// eg=1|eq=2 will be applied to each array element in the the map keys
244+
// eq=1|eq=2 will be applied to each array element in the the map keys
245245
// required will be applied to map values
246246
247247
Required

0 commit comments

Comments
 (0)