validator

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateDetail

func GenerateDetail(errors error) *map[string][]string

func IsValidationError

func IsValidationError(err error) bool

func Keyword

func Keyword(_ *validator.Validate, _ reflect.Value, _ reflect.Value, field reflect.Value, fieldType reflect.Type, _ reflect.Kind, _ string) bool

func RegisterGin

func RegisterGin()

func Validate

func Validate(value interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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