tmplutils

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessTemplFile

func ProcessTemplFile(templatePath, destPath string, funcMap template.FuncMap, data interface{}) error

ProcessTemplFile processes a template file with the provided data and writes the output to the destination file. It returns an error if any of the operations fail. The function map is used to define custom functions that can be called from the template.

Types

This section is empty.

Jump to

Keyboard shortcuts

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