validation

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2023 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validate added in v1.3.8

type Validate struct {
	ValidatorValidate *validator.Validate
}

func (*Validate) Validate added in v1.3.8

func (validate *Validate) Validate(i interface{}) ValidatorErrors

type ValidatorError

type ValidatorError struct {
	validator.FieldError
}

func (ValidatorError) Error

func (validationErr ValidatorError) Error() string

type ValidatorErrors

type ValidatorErrors []ValidatorError

func (ValidatorErrors) Errors

func (validationErrors ValidatorErrors) Errors() []string

Jump to

Keyboard shortcuts

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