Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTranslator ¶
func GetTranslator() ut.Translator
func GetValidator ¶
func GetValidator() *validator.Validate
func ProjectStructLevelValidation ¶
func ProjectStructLevelValidation(sl validator.StructLevel)
func TenantStructLevelValidation ¶
func TenantStructLevelValidation(sl validator.StructLevel)
func TenantUserRelStructLevelValidation ¶
func TenantUserRelStructLevelValidation(sl validator.StructLevel)
Types ¶
type Validator ¶
type Validator struct { V *validator.Validate T ut.Translator }
type ValidatorIface ¶
func InitValidator ¶
func InitValidator() ValidatorIface
Click to show internal directories.
Click to hide internal directories.