validator

package
v0.0.0-...-128d701 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: GPL-3.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultValidator

type DefaultValidator struct {
	Validator *v9.Validate
}

func (*DefaultValidator) Validate

func (val *DefaultValidator) Validate(form interface{}) (ok bool, tags map[string]string)

type Validation

type Validation interface {
	Validate(form interface{}) (bool, map[string]string)
}

func NewDefaultValidator

func NewDefaultValidator() Validation

Jump to

Keyboard shortcuts

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