From bef0beba976fa45b5052c2cc906e8bd2b47c04fd Mon Sep 17 00:00:00 2001 From: henrylee2cn Date: Tue, 11 Jun 2019 11:52:58 +0800 Subject: [PATCH] docs(validator): fix comment Change-Id: I7d7b23411aa116fc4cf6a1873313039874a8276b --- validator/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator/validator.go b/validator/validator.go index 592e8e3..12acd40 100644 --- a/validator/validator.go +++ b/validator/validator.go @@ -52,7 +52,7 @@ func (v *Validator) VM() *tagexpr.VM { return v.vm } -// Validate validates whether the fields of v is valid. +// Validate validates whether the fields of value is valid. func (v *Validator) Validate(value interface{}) error { rv, ok := value.(reflect.Value) if !ok {