Documentation
¶
Index ¶
- func FuncMapWithOptions(options map[string]string) template.FuncMap
- func Render(templateFS fs.FS, entrypoint string, data any) ([]byte, error)
- func RenderString(name string, content string, data any) ([]byte, error)
- func RenderStringWithOptions(name string, content string, data any, options map[string]string) ([]byte, error)
- func RenderWithOptions(templateFS fs.FS, entrypoint string, data any, options map[string]string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuncMapWithOptions ¶ added in v0.0.5
FuncMapWithOptions returns the base function map plus an "option" function that looks up keys in the provided options map.
func RenderString ¶
RenderString renders a single template string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.