regex

package
v0.0.0-...-ae089e8 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validateur

type Validateur struct {
	Name     *regexp.Regexp
	Email    *regexp.Regexp
	Username *regexp.Regexp
}
var (
	Verifie Validateur
)

func (Validateur) IsEmail

func (v Validateur) IsEmail(d string) (boolean bool)

func (Validateur) IsName

func (v Validateur) IsName(d string) (boolean bool)

func (Validateur) IsUsername

func (v Validateur) IsUsername(d string) (boolean bool)

func (Validateur) ValidPassword

func (v Validateur) ValidPassword(s string) bool

Jump to

Keyboard shortcuts

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