From 578e7d634bbc92ad17d8ae74557473b50ddaf3ff Mon Sep 17 00:00:00 2001 From: John Guo Date: Sat, 29 May 2021 16:47:39 +0800 Subject: [PATCH] comment updates for package gvalid --- util/gvalid/gvalid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/gvalid/gvalid.go b/util/gvalid/gvalid.go index cac7abe74..5b390a125 100644 --- a/util/gvalid/gvalid.go +++ b/util/gvalid/gvalid.go @@ -47,7 +47,7 @@ import ( // length format: length:min,max brief: Length between :min and :max. The length is calculated using unicode string, which means one chinese character or letter both has the length of 1. // min-length format: min-length:min brief: Length is equal or greater than :min. The length is calculated using unicode string, which means one chinese character or letter both has the length of 1. // max-length format: max-length:max brief: Length is equal or lesser than :max. The length is calculated using unicode string, which means one chinese character or letter both has the length of 1. -// size format: size brief: Length must be :size. The length is calculated using unicode string, which means one chinese character or letter both has the length of 1. +// size format: size:size brief: Length must be :size. The length is calculated using unicode string, which means one chinese character or letter both has the length of 1. // between format: between:min,max brief: Range between :min and :max. It supports both integer and float. // min format: min:min brief: Equal or greater than :min. It supports both integer and float. // max format: max:max brief: Equal or lesser than :max. It supports both integer and float.