package
Version:
v0.0.0-...-f39640c
Opens a new window with list of versions in this module.
Published: Jan 18, 2023
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 {
Errors formErrors
}
New initializes a Form struct
Has checks if given form field is not empty
MinLenght checks that given field value has the minimum given chars
Required iters over all given fields and checks that their values are not empty
Valid returns true if no errors found in form
Source Files
¶
Click to show internal directories.
Click to hide internal directories.