Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() services.ValidatorService
Types ¶
type Service ¶
type Service struct {
*validator.Validate
ut.Translator
}
func (*Service) Translate ¶
func (s *Service) Translate(errs validator.ValidationErrors) validator.ValidationErrorsTranslations
Translate 翻译错误
Click to show internal directories.
Click to hide internal directories.