tmpl

package
v0.0.60 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTimeout time.Duration = 30 * time.Second

Functions

func RunTemplate

func RunTemplate(ctx context.Context, fname string, vars []string) (string, error)

func RunTemplateJSON added in v0.0.45

func RunTemplateJSON(ctx context.Context, fname string, vars []string, res interface{}) error

func RunTemplateStdout

func RunTemplateStdout(ctx context.Context, fname string, vars []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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