Documentation ¶
Index ¶
- func InitValidator(db *gorm.DB)
- type Validator
- func (v *Validator) EnvironmentUserRelStructLevelValidation(sl validator.StructLevel)
- func (v *Validator) ProjectStructLevelValidation(sl validator.StructLevel)
- func (v *Validator) TenantStructLevelValidation(sl validator.StructLevel)
- func (v *Validator) TenantUserRelStructLevelValidation(sl validator.StructLevel)
- func (v *Validator) UserCreateStructLevelValidation(sl validator.StructLevel)
- func (v *Validator) UserStructLevelValidation(sl validator.StructLevel)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitValidator ¶
Types ¶
type Validator ¶
type Validator struct { Validator *validator.Validate Translator ut.Translator // contains filtered or unexported fields }
func (*Validator) EnvironmentUserRelStructLevelValidation ¶
func (v *Validator) EnvironmentUserRelStructLevelValidation(sl validator.StructLevel)
func (*Validator) ProjectStructLevelValidation ¶
func (v *Validator) ProjectStructLevelValidation(sl validator.StructLevel)
func (*Validator) TenantStructLevelValidation ¶
func (v *Validator) TenantStructLevelValidation(sl validator.StructLevel)
func (*Validator) TenantUserRelStructLevelValidation ¶
func (v *Validator) TenantUserRelStructLevelValidation(sl validator.StructLevel)
func (*Validator) UserCreateStructLevelValidation ¶
func (v *Validator) UserCreateStructLevelValidation(sl validator.StructLevel)
func (*Validator) UserStructLevelValidation ¶
func (v *Validator) UserStructLevelValidation(sl validator.StructLevel)
Click to show internal directories.
Click to hide internal directories.