template

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	// contains filtered or unexported fields
}

func NewTemplates

func NewTemplates(objectStoreManager *osm.ObjectStoreManager) *Template

Make a new one of these

func (*Template) HydrateTemplate

func (r *Template) HydrateTemplate(templateName string, language string, data *map[string]string) (*string, error)

Hydrate a named mustache template with the supplied data (name-value pair strings as a map)

type TemplateIfc

type TemplateIfc interface {
	HydrateTemplate(templateName string, language string, data *map[string]string) (*string, error)
}

Jump to

Keyboard shortcuts

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