package
5.2.3
Repository: https://github.com/mgenware/go-packagex.git
Documentation: pkg.go.dev

# Functions

ExecuteToString executes a template with specified data and returns a string.
MustExecuteToString calls ExecuteToString and panics if any error occurs.
MustParse behaves like template.Parse, but panics if any error happens.
MustParseFile reads a file from file parameter and calls MustParse.
MustParseView loads a view from the given file, and panics if parsing failed.
MustParseViewFromDirectory joins the dir and the file arguments and calls MustParseView.

# Structs

View wraps a Go text/template.Template object, providing ease of use.