Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppValidator ¶
type AppValidator struct { UniTrans *ut.UniversalTranslator V *validator.Validate Translator ut.Translator }
AppValidator represents validation struct
func NewAppValidator ¶
func NewAppValidator() (*AppValidator, error)
NewAppValidator will initialize validator with translator
func (*AppValidator) Validate ¶
func (av *AppValidator) Validate(i interface{}) error
Validate serving to be called by Echo to validate url
Click to show internal directories.
Click to hide internal directories.