Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TranslationService ¶
type TranslationService struct {
// contains filtered or unexported fields
}
TranslationService is the default TranslationService implementation
func (*TranslationService) Inject ¶
func (ts *TranslationService) Inject( logger flamingo.Logger, config *struct { DevMode bool `inject:"config:debug.mode"` TranslationFile string `inject:"config:locale.translationFile,optional"` TranslationFiles config.Slice `inject:"config:locale.translationFiles,optional"` }, )
Inject dependencies
Click to show internal directories.
Click to hide internal directories.