validate

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *validator.Validate

func ValidateMapValuesFunc

func ValidateMapValuesFunc(isValidValue func(string) bool) validator.Func

Types

type ValidationErrors

type ValidationErrors map[string]string

func ValidateStruct

func ValidateStruct(v *validator.Validate, s interface{}) ValidationErrors

func (ValidationErrors) String

func (v ValidationErrors) String() string

Jump to

Keyboard shortcuts

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