package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Apr 30, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Error struct {
Field string `json:"field"`
Message string `json:"message"`
}
Error represents a single field validation error.
Errors is a collection of validation errors.
Rule validates a field value given an optional parameter.
type Validator struct {
}
Validator validates structs based on "validate" struct tags.
New creates a new Validator with built-in rules.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.