From 24b5175a342e0953049e1c6fe13c98dca9533fe0 Mon Sep 17 00:00:00 2001 From: Sol <39742391+SolKuczala@users.noreply.github.com> Date: Sun, 1 May 2022 16:26:35 +0100 Subject: [PATCH] Fix typo (#891) --- validator_instance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator_instance.go b/validator_instance.go index 6d66060..8917d8c 100644 --- a/validator_instance.go +++ b/validator_instance.go @@ -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) }