Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BundleHandleFunc ¶
type I18nManager ¶
type I18nManager struct {
// contains filtered or unexported fields
}
func NewI18nManager ¶
func NewI18nManager(defaultLang, fallbackLang string, handleFuncs ...BundleHandleFunc) (*I18nManager, error)
func (*I18nManager) LoadTomlMessageFileFs ¶
func (i *I18nManager) LoadTomlMessageFileFs(tomlFs embed.FS) error
func (*I18nManager) SetLanguage ¶
func (i *I18nManager) SetLanguage(lang ...string)
Click to show internal directories.
Click to hide internal directories.