template

package
v0.9.20 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuncMap

func GetFuncMap() template.FuncMap

func MakeTemplate

func MakeTemplate(tmplate string) (*template.Template, error)

func RenderString

func RenderString(tmplate string, ctx map[string]interface{}) (string, error)

func RenderTemplate

func RenderTemplate(wr io.Writer, tmplate string, ctx map[string]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