package
Version:
v0.0.0-...-7b3d061
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: GPL-2.0
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
}
Form creates a custom form struct, embeds a url.Values object.
New initializes a form struct.
Has checks if form fiels is in post and not empty.
iSEmail checks for valid email address.
MinLength checks for string minimum length.
Required checks for required fields.
Valid returns true if there are no errors, otherwise false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.