Documentation ¶
Index ¶
- Constants
- type I18n
- func (p *I18n) All(lang string) (map[string]interface{}, error)
- func (p *I18n) E(lang, code string, args ...interface{}) error
- func (p *I18n) F(lang, code string, obj interface{}) (string, error)
- func (p *I18n) Load(dir string) error
- func (p *I18n) Middleware() (gin.HandlerFunc, error)
- func (p *I18n) Set(lang, code, message string) error
- func (p *I18n) T(lang, code string, args ...interface{}) string
- type Store
Constants ¶
View Source
const (
// LOCALE locale key
LOCALE = "locale"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.