validate

package
v0.0.0-...-852fb4d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Singleton *validator.Validate

Singleton is the validator singleton instance.

This way it caches the structs info.

View Source
var Translator ut.Translator

Translator is the universal translator for validation errors.

Functions

func Validate

func Validate(o interface{}) []error

Types

type ValidationError

type ValidationError = validator.ValidationErrors

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL