Documentation ¶
Index ¶
- Variables
- func GetLocalizer(locale string) *i18n.Localizer
- func Init()
- func RTError(err error, replace any, locale string) error
- func RTToError(key string, replace any, locale string) error
- func RTrans(key string, replace any, locale string) string
- func RTransToHtml(key string, replace any, locale string) template.HTML
- func T(key string, locale string) string
- func TError(err error, locale string) error
- func TToError(key string, locale string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Booted bool Matcher = language.NewMatcher([]language.Tag{ language.Chinese, language.English, }) )
Functions ¶
func GetLocalizer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.