pull/936/head
Sol 3 years ago committed by GitHub
parent bc9f9dd2eb
commit 24b5175a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      validator_instance.go

@ -171,7 +171,7 @@ func (v Validate) ValidateMapCtx(ctx context.Context, data map[string]interface{
return errs return errs
} }
// ValidateMap validates map data form a map of tags // ValidateMap validates map data from a map of tags
func (v *Validate) ValidateMap(data map[string]interface{}, rules map[string]interface{}) map[string]interface{} { func (v *Validate) ValidateMap(data map[string]interface{}, rules map[string]interface{}) map[string]interface{} {
return v.ValidateMapCtx(context.Background(), data, rules) return v.ValidateMapCtx(context.Background(), data, rules)
} }

Loading…
Cancel
Save