Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetI18nMessage ¶
GetI18nMessage return i18n message
Types ¶
type Configure ¶ added in v0.1.1
type Configure struct { UserAgentTags []string `env:"I18N_USERAGENT_TAGS" envDefault:"" envSeparator:":"` // lang-en:lang-ko:lang-zh:lang-zh:lang-zh:lang-ja SupportLanguages []language.Tag }
Configure config for i18n
var Config Configure
Config global defined i18n config
Click to show internal directories.
Click to hide internal directories.