package
0.0.5
Repository: https://github.com/reefbarman/render.git
Documentation: pkg.go.dev

# Packages

Package configuration defines data structure (configuration) for the data-driven renderer Configuration is a tree structure and can be created from a YAML files or 'key=value' pairs.

# Functions

Gzip compresses the input using gzip algorithm.
New creates a new renderer with the specified configuration and zero or more options.
ToYaml is a template function, it turns a marshallable structure into a YAML fragment.
Ungzip un-compresses the input using gzip algorithm.

# Constants

LeftDelim is the default left template delimiter.
MissingKeyErrorOption is the renderer option to stops execution immediately with an error on missing key.
MissingKeyInvalidOption is the renderer option to continue execution on missing key and print "<no value>".
RightDelim is the default right template delimiter.

# Structs

Renderer structure holds configuration and options.