Merge pull request #489 from tobiassjosten/patch-1

Fixed typo
updates-and-fixes
Dean Karn 5 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 // returns the FieldError's translated error
// from the provided 'ut.Translator' and registered 'TranslationFunc' // from the provided 'ut.Translator' and registered 'TranslationFunc'
// //
// NOTE: is not registered translation can be found it returns the same // NOTE: if no registered translator can be found it returns the same as
// as calling fe.Error() // calling fe.Error()
Translate(ut ut.Translator) string Translate(ut ut.Translator) string
} }

Loading…
Cancel
Save