cdf9ff40 by astaxie

Merge pull request #1096 from byrnedo/develop

Set ErrorsMap to nil in Validation.Clear function
2 parents 54ae4bc2 260b5b19
......@@ -107,6 +107,7 @@ type Validation struct {
// Clean all ValidationError.
func (v *Validation) Clear() {
v.Errors = []*ValidationError{}
v.ErrorsMap = nil
}
// Has ValidationError nor not.
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!