Help us shape the future of Go! Take the 2026 Go Developer Survey

template

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package template provides templating functionality for dynamic workflow configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(input string) (*template.Template, error)

Parse parses the input string as a template and returns the parsed template.

func Render

func Render(templateStr string, data any) (any, error)

Render renders the input string as a template with the provided data.

func RenderWithContext

func RenderWithContext(input string, executionCtx *models.ExecutionContext) (any, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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