validator

package
v0.0.0-...-1e80c8a Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 3 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 {
	// contains filtered or unexported fields
}

Validator wraps the go playground validator for the echo framework interface.

func NewValidator

func NewValidator() *Validator

NewValidator creates a new validator.

func (*Validator) Validate

func (val *Validator) Validate(i interface{}) error

Validate implements the echo framework validator interface.

Jump to

Keyboard shortcuts

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