package
0.1.9
Repository: https://github.com/dmitrymomot/oauth2-server.git
Documentation: pkg.go.dev

# Functions

NewValidationError returns a new ValidationError.
Email is a validator that checks if the value is a valid email address.
ValidateStruct validate struct data - s: struct pointer - return: validation errors as url.Values or nil if no errors.

# Variables

ErrValidation is returned when validation fails.

# Structs

EmailAddress is a structure that stores the address local-part@domain parts.
ValidationError is a custom error type that contains a map of field names to error messages.