validator

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() core.Validator

Types

type CustomValidationError added in v0.5.2

type CustomValidationError struct {
	Param   string
	Name    string
	Message string
}

func (CustomValidationError) Error added in v0.5.2

func (verr CustomValidationError) Error() string

func (CustomValidationError) Format added in v0.5.2

func (verr CustomValidationError) Format(f string) string

func (CustomValidationError) GetName added in v0.5.2

func (verr CustomValidationError) GetName() string

Jump to

Keyboard shortcuts

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