validator

package
v0.7.1-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorStruct     = errors.New("the struct provided couldn't be checked")
	ErrorBadRequest = errors.New("bad request")
)

Functions

This section is empty.

Types

type InvalidField

type InvalidField struct {
	Name  string
	Kind  string
	Param string
	Extra string
}

func CheckValidation

func CheckValidation(data interface{}) ([]InvalidField, error)

Jump to

Keyboard shortcuts

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