From 6d2c659585798a684ab42d333ff204790108639c Mon Sep 17 00:00:00 2001 From: shenyiling Date: Thu, 6 Feb 2020 18:28:56 +0800 Subject: [PATCH] fix: typo --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index 799882c..ecd8092 100644 --- a/doc.go +++ b/doc.go @@ -158,7 +158,7 @@ handy in ignoring embedded structs from being validated. (Usage: -) Or Operator 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 ( Usage: omitempty,rgb|rgba)