mirror of
https://gitee.com/johng/gf
synced 2026-06-06 16:21:40 +08:00
comment update for package gvalid
This commit is contained in:
@ -122,7 +122,9 @@ func (v *Validator) doCheckValue(ctx context.Context, in doCheckValueInput) Erro
|
||||
customMsgMap[ruleKey] = strings.TrimSpace(msgArray[index])
|
||||
}
|
||||
|
||||
// Custom rule handling.
|
||||
// ===========================================================================================
|
||||
// Custom rule handling
|
||||
// ===========================================================================================
|
||||
// 1. It firstly checks and uses the custom registered rules functions in the current Validator.
|
||||
// 2. It secondly checks and uses the globally registered rules functions.
|
||||
// 3. It finally checks and uses the build-in rules functions.
|
||||
|
||||
Reference in New Issue
Block a user