code: func (v *Validation) ErrorMap() map[string]*ValidationError {
  	m := map[string]*ValidationError{}
  	for _, e := range v.Errors {
  		if _, ok := m[e.Key]; !ok {
  			m[e.Key] = e
  		}
  	}
  	return m
  }
docs: // ErrorMap returns the errors mapped by key.
  // If there are multiple validation errors associated with a single key, the
  // first one "wins".  (Typically the first validation will be the more basic).