Documentation ¶
Index ¶
- type Localizer
- func (t Localizer) Get(key string, replacements ...*Replacements) string
- func (t Localizer) GetWithLocale(locale, key string, replacements ...*Replacements) string
- func (t Localizer) SetFallbackLocale(fallback string) Localizer
- func (t Localizer) SetLocale(locale string) Localizer
- func (t Localizer) SetLocales(locale, fallback string) Localizer
- type Replacements
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Localizer ¶
func (Localizer) GetWithLocale ¶
func (t Localizer) GetWithLocale(locale, key string, replacements ...*Replacements) string
func (Localizer) SetFallbackLocale ¶
func (Localizer) SetLocales ¶
type Replacements ¶
type Replacements map[string]interface{}
Click to show internal directories.
Click to hide internal directories.