validation

package
v0.0.0-...-4645e4b Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Username = username{}
	Password = password{}
)

Functions

This section is empty.

Types

type Regulator

type Regulator interface {
	Match(v interface{}) error
}

type Requires

type Requires map[string]bool

type Rules

type Rules map[string]Regulator

func (Rules) Has

func (r Rules) Has(field interface{}) bool

Jump to

Keyboard shortcuts

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