validations

package
v0.0.0-...-bb61026 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpiresAtValidation

func ExpiresAtValidation(fl validator.FieldLevel) bool

func PasswordValidation

func PasswordValidation(fl validator.FieldLevel) bool

Password validation function At least 8 characters, one uppercase letter, one lowercase letter, one digit, and one special character

func ValidateExpiresAt

func ValidateExpiresAt(expiresAt time.Time, now time.Time) bool

func ValidatePassword

func ValidatePassword(password string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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