govalidator

package
v1.0.215 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(local string) (*Validator, error)

func (*Validator) Translate

func (v *Validator) Translate(err error) (errMsg string)

Translate 翻译错误信息 https://learnku.com/articles/59498 https://www.cnblogs.com/silent-cxl/p/15181647.html

Jump to

Keyboard shortcuts

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