The highest tagged major version is
v2.
package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Sep 17, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Form struct {
url.Values
Errors errors
}
New initializes a form struct.
Has checks if form field is in post and not empty.
IsEmail checks for valid email address.
MaxLength checks for string maximum length.
MinLength checks for string minimum length.
Required checks for required fields.
Valid returns true if no errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.