validator

package
v0.0.0-...-ce13bd1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package validator, link: github.com/go-playground/validator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidPassword

func IsValidPassword(password string) error

IsValidPassword validate password.

Types

type PasswordPolicy

type PasswordPolicy struct {
	Upper   bool
	Lower   bool
	Number  bool
	Special bool
	Min     int
	Max     int
}

Jump to

Keyboard shortcuts

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