Skip to content

Commit 3642a41

Browse files
committed
Added function description
1 parent a62b0d4 commit 3642a41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

validator_instance.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ func (v *Validate) RegisterValidationCtx(tag string, fn FuncCtx, callValidationE
232232
return v.registerValidation(tag, fn, false, nilCheckable)
233233
}
234234

235+
// GetValidation gets the current validation function associated with the given tag
235236
func (v *Validate) GetValidation(tag string) (FuncCtx, bool) {
236237
wrapper, ok := v.validations[tag]
237238
if !ok {

0 commit comments

Comments
 (0)