validators

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL