package
Version:
v0.0.0-...-eb9f5a9
Opens a new window with list of versions in this module.
Published: Jan 11, 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
¶
View Source
const (
ModeDefault = "default"
ModeCompact = "compact"
ModeVerbose = "verbose"
)
func GetGlobal() *validator.Validate
func SetGlobal(v *validator.Validate)
func Validate(s interface{}) (err error)
func ValidateWithOpts(s interface{}, opt Opts) (err error)
type Opts struct {
Mode string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.