Documentation ¶
Index ¶
- type Form
- func (f *Form) Has(field string, r *http.Request) bool
- func (f *Form) HasValue(field string, r *http.Request) bool
- func (f *Form) IsEmail(field string)
- func (f *Form) MinLength(field string, length int, r *http.Request) bool
- func (f *Form) Valid() bool
- func (f *Form) Validate(fields []string, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Form ¶
Form creates a custom form struct and embeds a url.Values object
Click to show internal directories.
Click to hide internal directories.