gg_templating

package
v0.3.71 Latest Latest
Warning

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

Go to latest
Published: May 17, 2025 License: BSD-3-Clause Imports: 2 Imported by: 0

README

Templating

Extended string template renderer.

Uses Mustache.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TemplatingHelper

type TemplatingHelper struct {
	gg_templating.TemplatingHelper // extends gg.Templating
}
var Templating *TemplatingHelper

func NewTemplatingHelper

func NewTemplatingHelper() (instance *TemplatingHelper)

func (*TemplatingHelper) RenderMustache

func (instance *TemplatingHelper) RenderMustache(data string, context ...interface{}) (response string, err error)

func (*TemplatingHelper) RenderMustacheParam

func (instance *TemplatingHelper) RenderMustacheParam(text string, param interface{}) (string, error)

type TemplatingOptions

type TemplatingOptions struct {
}

Jump to

Keyboard shortcuts

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