validator

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateEmail

func ValidateEmail(value string) error

For validating email address

func ValidateLength

func ValidateLength(name, value string, min int, max int) error

For validating string length

func ValidateName

func ValidateName(value string) error

For validating names min=1 max=255

func ValidatePassword

func ValidatePassword(value string) error

For validating password min=6 ma=255

func ValidateUUID

func ValidateUUID(value string) error

For validating uuid

func ValidateUsername

func ValidateUsername(value string) error

For validating username min=3 max=60 letters, digits, underscore

Types

This section is empty.

Jump to

Keyboard shortcuts

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