package
0.13.0
Repository: https://github.com/ibrt/golang-utils.git
Documentation: pkg.go.dev

# Functions

ExecuteGo executes a text template, formatting the result as Go code.
ExecuteHTML executes a HTML template.
ExecuteJSON executes a text template, formatting the result as JSON code.
ExecuteText executes a text template.
MustExecuteGo is like [ExecuteGo] but panics on error.
MustExecuteHTML is like [ExecuteHTML] but panics on error.
MustExecuteJSON is like [ExecuteJSON] but panics on error.
MustExecuteText is like [ExecuteText] but panics on error.
MustParseAndExecuteGo is like [ParseAndExecuteGo] but panics on error.
MustParseAndExecuteHTML is like [ParseAndExecuteHTML] but panics on error.
MustParseAndExecuteJSON is like [ParseAndExecuteJSON] but panics on error.
MustParseAndExecuteText is like [ParseAndExecuteText] but panics on error.
ParseAndExecuteGo parses and executes a text template, formatting the result as Go code.
ParseAndExecuteHTML parses and executes a HTML template.
ParseAndExecuteJSON parses and executes a text template, formatting the result as JSON code.
ParseAndExecuteText parses and executes a text template.