pull/489/head
Tobias Sjösten 5 years ago committed by GitHub
parent 884d31b8ca
commit 9f6c1cdebf
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