validator

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *v.Validate

Get initializes and registers validation tags once, and returns validator instance.

func IntegerTypeConfigErr

func IntegerTypeConfigErr(name string) error

IntegerTypeConfigErr returns the formatted integer type error.

func OutOfRangeErr

func OutOfRangeErr(name string) error

OutOfRangeErr returns the formatted out of range error.

func RequiredErr

func RequiredErr(name string) error

RequiredErr returns the formatted required field error.

func WrongResourceNameErr

func WrongResourceNameErr(name string) error

WrongResourceNameErr returns the formatted wrong resource name error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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