Documentation ¶ Index ¶ Variables func Add(key string, lang map[string]string) func Get(value string) string func GetFromHtml(value template.HTML) template.HTML type LangMap func (lang LangMap) Get(value string) string Constants ¶ This section is empty. Variables ¶ View Source var Lang = LangMap{ "cn": cn, "en": en, "jp": jp, } Functions ¶ func Add ¶ func Add(key string, lang map[string]string) func Get ¶ func Get(value string) string func GetFromHtml ¶ func GetFromHtml(value template.HTML) template.HTML Types ¶ type LangMap ¶ type LangMap map[string]map[string]string func (LangMap) Get ¶ func (lang LangMap) Get(value string) string Source Files ¶ View all Source files cn.go en.go jp.go language.go Click to show internal directories. Click to hide internal directories.