Skip to content

Commit

Permalink
Fix typo (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
SolKuczala committed May 1, 2022
1 parent bc9f9dd commit 24b5175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator_instance.go
Expand Up @@ -171,7 +171,7 @@ func (v Validate) ValidateMapCtx(ctx context.Context, data map[string]interface{
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{} {
return v.ValidateMapCtx(context.Background(), data, rules)
}
Expand Down

0 comments on commit 24b5175

Please sign in to comment.