Documentation ¶
Index ¶
- type MockTemplateService
- func (m *MockTemplateService) NewRootContext() *template_engine.RootContext
- func (m *MockTemplateService) ReloadI18n() error
- func (m *MockTemplateService) Render(name string, root *template_engine.RootContext) (string, error)
- func (m *MockTemplateService) RenderTemplate(template string, root *template_engine.RootContext) (string, error)
- func (m *MockTemplateService) Start(appCtx context.Context, mongoDatabase *mongo.Database, ...) error
- type SampleTemplatesI18n
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTemplateService ¶
type MockTemplateService struct {
// contains filtered or unexported fields
}
func NewMockTemplateService ¶
func NewMockTemplateService() *MockTemplateService
func (*MockTemplateService) NewRootContext ¶
func (m *MockTemplateService) NewRootContext() *template_engine.RootContext
func (*MockTemplateService) ReloadI18n ¶
func (m *MockTemplateService) ReloadI18n() error
func (*MockTemplateService) Render ¶
func (m *MockTemplateService) Render(name string, root *template_engine.RootContext) (string, error)
func (*MockTemplateService) RenderTemplate ¶
func (m *MockTemplateService) RenderTemplate(template string, root *template_engine.RootContext) (string, error)
func (*MockTemplateService) Start ¶
func (m *MockTemplateService) Start(appCtx context.Context, mongoDatabase *mongo.Database, i18nReLoader template_service.I18nReLoader) error
type SampleTemplatesI18n ¶
Click to show internal directories.
Click to hide internal directories.