govalidator

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 9 Imported by: 0

README

Golang Validator

📦 Golang Validator

godoc goproxy.cn goreportcard.com deps.dev

安装

go get -v -u go.dtapp.net/govalidator@v1.0.1

Documentation

Index

Constants

View Source
const Version = "1.0.1"

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