tpl

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: AGPL-3.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute added in v0.20.0

func Execute(tmpl *template.Template, data interface{}) (string, error)

func GetTemplate

func GetTemplate(baseFileName, templateFileName string) *template.Template

func GetTextTemplate added in v0.20.0

func GetTextTemplate(name string, rawText string) (*template.Template, error)

func Render

func Render(ctx context.Context, tmpl *template.Template, w io.Writer, data interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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