Skip to content

Commit a5d0ef3

Browse files
joeybloggsjoeybloggs
authored andcommitted
update doc.go, some v5 specific notes were left.
1 parent cdc48b4 commit a5d0ef3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

doc.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,6 @@ Here is a list of the current built in validators:
121121
gt=0 will be applied to []
122122
[]string will be spared validation
123123
required will be applied to string
124-
NOTE: in Example2 if the required validation failed, but all others passed
125-
the hierarchy of FieldError's in the middle with have their IsPlaceHolder field
126-
set to true. If a FieldError has IsSliceOrMap=true or IsMap=true then the
127-
FieldError is a Slice or Map field and if IsPlaceHolder=true then contains errors
128-
within its SliceOrArrayErrs or MapErrs fields.
129124
130125
required
131126
This validates that the value is not the data types default value.

0 commit comments

Comments
 (0)