form

package
v0.0.0-...-f928fa1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2018 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseForm

func ParseForm(v interface{}, values url.Values) error

Types

type Form

type Form struct {
	Errors validator.ValidationErrors
	// contains filtered or unexported fields
}

func (*Form) AddError

func (f *Form) AddError(name, msg string)

func (*Form) Error

func (f *Form) Error(name string) validator.FieldError

func (*Form) ErrorMsg

func (f *Form) ErrorMsg(name string) string

func (*Form) ErrorStatus

func (f *Form) ErrorStatus(name string) string

func (*Form) ErrorText

func (f *Form) ErrorText(name string) string

func (*Form) ValidForm

func (f *Form) ValidForm(form interface{}) bool

Jump to

Keyboard shortcuts

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