validator

package
v0.0.0-...-d87ffed Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2017 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

This file contains all the validators to validate the profile page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Errors

type Errors struct {
	Errors []error
}

type ProfilePage

type ProfilePage struct {
	Form *url.Values
}

func (*ProfilePage) GetErrors

func (p *ProfilePage) GetErrors() Errors

Goes through the form object and validates each element. Attachs an error to the output if validation fails.

Jump to

Keyboard shortcuts

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