package
Version:
v1.4.11
Opens a new window with list of versions in this module.
Published: May 18, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func RegisterTrans(language string) (translator ut.Translator, err error)
RegisterTrans 定义翻译的方法.
func Translate(err error, tran ut.Translator) (errMsg string)
Translate 翻译错误信息.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.