Merge pull request #574 from shenyiling/master

fix: typo
pull/575/head
Dean Karn 5 years ago committed by GitHub
commit b541462b5a
  1. 2
      doc.go

@ -158,7 +158,7 @@ handy in ignoring embedded structs from being validated. (Usage: -)
Or Operator Or Operator
This is the 'or' operator allowing multiple validators to be used and This is the 'or' operator allowing multiple validators to be used and
accepted. (Usage: rbg|rgba) <-- this would allow either rgb or rgba accepted. (Usage: rgb|rgba) <-- this would allow either rgb or rgba
colors to be accepted. This can also be combined with 'and' for example colors to be accepted. This can also be combined with 'and' for example
( Usage: omitempty,rgb|rgba) ( Usage: omitempty,rgb|rgba)

Loading…
Cancel
Save