validate

package
v0.0.0-...-514fb8c Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAll

func ValidateAll(validators ...Validator) error

ValidateAll validates all validators

Types

type Validator

type Validator interface {
	// Validate returns nil if valid, error if invalid
	Validate() error
}

Validator is used to validate something

Jump to

Keyboard shortcuts

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