validators

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

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

Go to latest
Published: Sep 20, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Validate *validator.Validate
	Trans    ut.Translator
}
var (
	Valid Validator
)

func NewValidator

func NewValidator() Validator

func (*Validator) InitTranslator

func (v *Validator) InitTranslator() error

func (*Validator) InitValidate

func (v *Validator) InitValidate()

func (*Validator) ParseError

func (v *Validator) ParseError(err error) error

Jump to

Keyboard shortcuts

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