Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetI18nService ¶
func GetI18nService(cfgPath string) (svc2 interfaces.I18nService, err error)
func NewI18nService ¶
func NewI18nService() (svc2 interfaces.I18nService, err error)
func ProvideGetI18nService ¶
func ProvideGetI18nService(cfgPath string) func() (svc interfaces.I18nService, err error)
Types ¶
type Service ¶
type Service struct { }
func (*Service) AddTranslations ¶
func (svc *Service) AddTranslations(t []interfaces.Translation)
func (*Service) GetTranslations ¶
func (svc *Service) GetTranslations() (t []interfaces.Translation)
Click to show internal directories.
Click to hide internal directories.