Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Password ¶
func Password(field validator.FieldLevel) bool
func Regex ¶
func Regex(field validator.FieldLevel) bool
Types ¶
type UniqueFieldValidator ¶
type UniqueFieldValidator struct {
// contains filtered or unexported fields
}
func NewUniqueFieldValidator ¶
func NewUniqueFieldValidator(db *pgxpool.Pool) *UniqueFieldValidator
func (*UniqueFieldValidator) Validate ¶
func (uv *UniqueFieldValidator) Validate(fl validator.FieldLevel) bool
Click to show internal directories.
Click to hide internal directories.