Documentation ¶
Index ¶
- Constants
- func Fprintf(w io.Writer, ctx any, key string, args ...any) (n int, resErr error)
- func Make(lang any) context.Context
- func NewPrinter(lang any) *i18n.Printer
- func Plural(cases ...any) []i18n.PluralRule
- func Printf(ctx any, format string, args ...any)
- func SetLang(lang any) *i18n.Printer
- func Sprintf(ctx any, format string, args ...any) (result string)
- type Domain
Constants ¶
View Source
const I18nCtxKey i18nKey = "i18n-ctx"
I18nCtxKey is context key
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.