Versions in this module Expand all Collapse all v0 v0.0.1 May 7, 2017 Changes in this version + const LOCALE + type I18n struct + Cache *cache.Cache + Store Store + 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 interface + All func(lang string) (map[string]string, error) + Del func(lang, code string) error + Get func(lang, code string) (string, error) + Languages func() ([]string, error) + Set func(lang, code, message string, override bool) error