validator

package
v0.0.0-...-ea4a84b Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: MPL-2.0 Imports: 5 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 struct {
	Val   *validator.Validate
	Uni   *ut.UniversalTranslator
	Trans ut.Translator
}

Validator : Event validator

func NewValidator

func NewValidator() *Validator

NewValidator ...

func (*Validator) Validate

func (v *Validator) Validate(ev interface{}) error

Validate : ...

Jump to

Keyboard shortcuts

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