We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdc48b4 commit a5d0ef3Copy full SHA for a5d0ef3
doc.go
@@ -121,11 +121,6 @@ Here is a list of the current built in validators:
121
gt=0 will be applied to []
122
[]string will be spared validation
123
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.
129
130
required
131
This validates that the value is not the data types default value.
0 commit comments