options

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEmailAddressValidator added in v1.2.0

func NewEmailAddressValidator(emails []string) func(string) bool

NewEmailAddressValidator returns a function that checks whether a given email is valid based on a list of email addresses. The address "*" is a wild card that matches any non-empty email.

func NewEmailDomainValidator added in v1.2.0

func NewEmailDomainValidator(domains []string) func(string) bool

NewEmailDomainValidator returns a function that checks whether a given email is valid based on a list of domains. The domain "*" is a wild card that matches any non-empty email.

Types

This section is empty.

Jump to

Keyboard shortcuts

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