update doc.go, some v5 specific notes were left.

pull/120/head
joeybloggs 9 years ago
parent cdc48b4f90
commit a5d0ef37b8
  1. 5
      doc.go

@ -121,11 +121,6 @@ Here is a list of the current built in validators:
gt=0 will be applied to [] gt=0 will be applied to []
[]string will be spared validation []string will be spared validation
required will be applied to string required will be applied to string
NOTE: in Example2 if the required validation failed, but all others passed
the hierarchy of FieldError's in the middle with have their IsPlaceHolder field
set to true. If a FieldError has IsSliceOrMap=true or IsMap=true then the
FieldError is a Slice or Map field and if IsPlaceHolder=true then contains errors
within its SliceOrArrayErrs or MapErrs fields.
required required
This validates that the value is not the data types default value. This validates that the value is not the data types default value.

Loading…
Cancel
Save