Merge pull request #489 from tobiassjosten/patch-1

Fixed typo
updates-and-fixes
Dean Karn 6 years ago committed by GitHub
commit ab2452c1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      errors.go

@ -152,8 +152,8 @@ type FieldError interface {
// returns the FieldError's translated error
// from the provided 'ut.Translator' and registered 'TranslationFunc'
//
// NOTE: is not registered translation can be found it returns the same
// as calling fe.Error()
// NOTE: if no registered translator can be found it returns the same as
// calling fe.Error()
Translate(ut ut.Translator) string
}

Loading…
Cancel
Save