Merge pull request #446 from Esslamb/v9

Fixed Typo
pull/451/head
Dean Karn 6 years ago committed by GitHub
commit 6cdb5bb480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      doc.go

@ -168,7 +168,7 @@ StructOnly
When a field that is a nested struct is encountered, and contains this flag 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 you 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. NOTE: only "required" and "omitempty" can be used on a struct itself.

Loading…
Cancel
Save