mock_template_service

package
v0.0.0-...-ba64992 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (*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

type SampleTemplatesI18n map[string]map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL