validator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValidationError

func GetValidationError(err error) error

func GetValidationErrors

func GetValidationErrors(err error) []error

func RegisterTagName

func RegisterTagName(v *validator.Validate, name string)

RegisterTagName 调整报错信息中的字段提示

func TransInit

func TransInit(v *validator.Validate, local string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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