render

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Data = make(map[string]any)
View Source
var (
	ExecuteWithData = render.ExecuteWithData
)

Functions

func Execute added in v0.8.17

func Execute(content any) ([]byte, error)

func Validate added in v0.9.0

func Validate(content string) error

Validate parses template content and returns a syntax error if any. It does NOT execute the template, so the result is independent of the runtime data: which claim/user fields exist depends on the deployment (LDAP mapping, edited user data), and executing against fixed sample data would be misleading.

Types

This section is empty.

Jump to

Keyboard shortcuts

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