Back to

Package tpl

Latest Go to latest
Published: Jul 26, 2019 | License: MIT | Module:


Package Files


const (
	FuncMd5sum      = "md5sum"
	FuncSha1sum     = "sha1sum"
	FuncMd5Crypt    = "md5crypt"
	FuncSSHA        = "ssha"
	FuncSSHA256     = "ssha256"
	FuncSSHA512     = "ssha512"
	FuncGet         = "get"
	FuncGetPassword = "getpw"
	FuncGetValue    = "getval"

These constants defined the template function names used

func Execute

func Execute(ctx context.Context, tpl, name string, content []byte, s kvstore) ([]byte, error)

Execute executes the given template

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier