validate

package
v0.0.0-...-7b32287 Latest Latest
Warning

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

Go to latest
Published: May 27, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Email

func Email(input string) error

Email validates whether the input is a valid email format

func Name

func Name(input string) error

Name validates whether the input meets first name last name requirements

func Password

func Password(input string) error

Password ensures the input meets password requirements

func Slug

func Slug(input, fieldName string, errorMessage *string) error

Slug validates whether the input meets slug requirements

func Username

func Username(input string) error

Username validates whether the input meets username requirements

Types

This section is empty.

Jump to

Keyboard shortcuts

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