leafValidatorV10

package module
v10.0.0-...-0829b1e Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func ValidateValuer

func ValidateValuer(field reflect.Value) interface{}

ValidateValuer implements validator.CustomTypeFunc

Types

type ValidatorOption

type ValidatorOption interface {
	Apply(o *validatorOptions)
}

func WithTranslator

func WithTranslator(translator *ut.UniversalTranslator) ValidatorOption

Directories

Path Synopsis
translations
en
id

Jump to

Keyboard shortcuts

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