package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Oct 25, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package locale 用于提供本地语言包处理接口定义和快捷调用入口
func L(catalog, key, reserved string, args ...interface{}) string
L 返回指定预演目录中指定key的语言文本,当无法找到指定文本时使用reserved作为代替文本
type ILPack interface {
Localize(catalog, key, reserved string, args ...interface{}) string
}
ILPack 定义一个语言包的行为接口
Source Files
¶
Click to show internal directories.
Click to hide internal directories.