1 Star 0 Fork 0

xinshou_xue/validator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
translations.go 423 Bytes
一键复制 编辑 原始数据 按行查看 历史
Dean Karn 提交于 2016-09-14 14:48 . initial translation/custom error code
package validator
import "github.com/go-playground/universal-translator"
// TranslationFunc is the function type used to register or override
// custom translations
type TranslationFunc func(ut ut.Translator, fe FieldError) string
// RegisterTranslationsFunc allows for registering of translations
// for a 'ut.Translator' for use withing the 'TranslationFunc'
type RegisterTranslationsFunc func(ut ut.Translator) error
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/jia_jilong/validator.git
git@gitee.com:jia_jilong/validator.git
jia_jilong
validator
validator
v9.1.1

搜索帮助