code: func (v *Validator) MaxLength(field string, length int) *ValidationResult {
  	val := v.data.Get(field)
  	trimmed := strings.TrimSpace(val)
  	if len(trimmed) > length {
  		return v.addMaxLengthError(field, length)
  	} else {
  		return validationOk
  	}
  }
docs: // MaxLength will add an error to the Validator if data.Values[field]
  // is longer than length (if data.Values[field] has more than
  // length characters), not counting leading or trailing
  // whitespace.