validator

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTrans

func RegisterTrans(language string) (translator ut.Translator, err error)

RegisterTrans 定义翻译的方法

func Translate

func Translate(err error, tran ut.Translator) (errMsg string)

Translate 翻译错误信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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