package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jun 28, 2026
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package validator defines the Validator contract.
type Validator interface {
Validate(s interface{}) error
}
Validator is an interface for validating structs, typically implemented by a struct validator library.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.