From 0906963f8ab0e9807a3458c93eee3458c174b3e6 Mon Sep 17 00:00:00 2001 From: jincheng9 Date: Wed, 17 Nov 2021 13:44:23 +0800 Subject: [PATCH] fix bug: typo --- core/validation/validation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/validation/validation.go b/core/validation/validation.go index 78a31f13..f46dd3fa 100644 --- a/core/validation/validation.go +++ b/core/validation/validation.go @@ -107,7 +107,7 @@ func (r *Result) Message(message string, args ...interface{}) *Result { // A Validation context manages data validation and error messages. type Validation struct { // if this field set true, in struct tag valid - // if the struct field vale is empty + // if the struct field value is empty // it will skip those valid functions, see CanSkipFuncs RequiredFirst bool