# Functions
New creates a new renderer with the given details.
NewTesting is a helper function to create a renderer suitable for injection in tests.
WithDebug configures debugging on the renderer.
WithOnError overwrites the onError handler with the given function.
WithTemplateFuncs registers additional template functions.
# Structs
Renderer is responsible for rendering various content and templates like HTML and JSON responses.
# Interfaces
TestingFatalf is an interface that is satisfied by [testing.TB].
# Type aliases
Option is an interface for options to creating a renderer.