override

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Locale

func Locale(locale map[string]*template.Template, overrides ...TemplateByCode)

Locale ...

Types

type TemplateByCode

type TemplateByCode interface {
	GetCode() string
	GetTemplate() *template.Template
}

TemplateByCode ...

func NewTemplateByCode

func NewTemplateByCode(code string, tmpl *template.Template) TemplateByCode

NewTemplateByCode ...

func NewTemplateByCodeFromText

func NewTemplateByCodeFromText(code string, tmplText string) TemplateByCode

NewTemplateByCodeFromText ...

Jump to

Keyboard shortcuts

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