validator

package
v0.0.0-...-a4c5897 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: MPL-2.0 Imports: 4 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 interface {
	Validate(interface{}) ([]string, error)
}

func New

func New() Validator

Create a go-playground/validator, but wrap it in our generic Validator interface as our usage is a small slice of the full go-playground/validator's capabilities.

Jump to

Keyboard shortcuts

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