templateutils

package
v2.0.8 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockMysql

func BlockMysql(tmplname, tmpl string, block string, data interface{}) (string, error)

BlockMysql return result of calling template Execute as string from template file

func Eval

func Eval(t *template.Template) func(string, interface{}) (string, error)

func String

func String(tmplname, tmpl string, data interface{}) (string, error)

String return result of calling template Execute as string

func StringBlock

func StringBlock(tmplname, tmpl string, block string, data interface{}) (string, error)

StringBlock return result of calling template Execute as string

func StringBlockMysql

func StringBlockMysql(tmpl string, block string, data interface{}) (string, error)

StringBlockMysql return result of calling template Execute as string from template file

Types

This section is empty.

Jump to

Keyboard shortcuts

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