Documentation ¶ Overview ¶ Package tmpl provides template rendering for triggers. Index ¶ func Render(ctx context.Context, tmplBody string, renderContext interface{}) (string, error) func RenderFile(ctx context.Context, path string, renderContext interface{}) (string, error) func RenderTo(ctx context.Context, tmplBody string, renderContext interface{}, w io.Writer) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Render ¶ func Render(ctx context.Context, tmplBody string, renderContext interface{}) (string, error) func RenderFile ¶ func RenderFile(ctx context.Context, path string, renderContext interface{}) (string, error) RenderFile is like Render but reads the template definition from path. func RenderTo ¶ func RenderTo(ctx context.Context, tmplBody string, renderContext interface{}, w io.Writer) error Types ¶ This section is empty. Source Files ¶ View all Source files tmpl.go Click to show internal directories. Click to hide internal directories.