fix the documentation (any validations can be used on structs now)

pull/591/head
Dmitry Zenovich 5 years ago
parent e02275b630
commit aad3b6694e
  1. 1
      doc.go

@ -170,7 +170,6 @@ When a field that is a nested struct is encountered, and contains this flag
any validation on the nested struct will be run, but none of the nested any validation on the nested struct will be run, but none of the nested
struct fields will be validated. This is useful if inside of your program struct fields will be validated. This is useful if inside of your program
you know the struct will be valid, but need to verify it has been assigned. you know the struct will be valid, but need to verify it has been assigned.
NOTE: only "required" and "omitempty" can be used on a struct itself.
Usage: structonly Usage: structonly

Loading…
Cancel
Save