Versions in this module Expand all Collapse all v1 v1.0.0 Jul 2, 2021 Changes in this version + func ReFormatToPlain(path string) + type GlobalizationMessage struct + Cn string + Code string + En string + type GoContext struct + func NewGoContext() *GoContext + func (ctx *GoContext) Bind(v interface{}) error + func (ctx *GoContext) Invoke(fn interface{}) ([]reflect.Value, error) + func (ctx *GoContext) InvokeSpecific(fn interface{}, names ...string) ([]reflect.Value, error) + func (ctx *GoContext) Register(v interface{}) + func (ctx *GoContext) RegisterAs(v interface{}, interfacePtr interface{}) + func (ctx *GoContext) With(fn interface{}) ([]reflect.Value, error) + func (ctx *GoContext) WithSpecific(fn interface{}, names ...string) ([]reflect.Value, error) + type GoNamer interface + GetGoName func() string + type MessageSource struct + func NewMessageSource() *MessageSource + func (ms *MessageSource) GetLocalized(code string, lang language.Tag, a ...interface{}) string + func (ms *MessageSource) Load(paths ...string)