validation

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEmailValid

func IsEmailValid(e string) bool

IsEmailValid is a function to validate email addresses. Here an email is valid if it follows the standard rules for valid email addresses. The unit tests contain examples of what are considered valid or invalid email addresses. Here we do not validate on the domain name.

func IsPasswordValid added in v1.8.0

func IsPasswordValid(p string) bool

func ValidateONSEmail added in v1.7.0

func ValidateONSEmail(e string) bool

ValidateONSEmail - validates email address for ons domain valid if match found, else invalid

Types

This section is empty.

Jump to

Keyboard shortcuts

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