validate

package
v0.0.0-...-8b8482c Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 13 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 ValidationErrors

type ValidationErrors = validator.ValidationErrors

Jump to

Keyboard shortcuts

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