Documentation
¶
Index ¶
- Constants
- func Fprintf(w io.Writer, ctx interface{}, key string, args ...interface{}) (n int, resErr error)
- func Make(lang interface{}) context.Context
- func NewPrinter(lang interface{}) *i18n.Printer
- func Plural(cases ...interface{}) []i18n.PluralRule
- func Printf(ctx interface{}, format string, args ...interface{})
- func SetLang(lang interface{}) *i18n.Printer
- func Sprintf(ctx interface{}, format string, args ...interface{}) (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.