# Functions
NewTemplateGenerator creates a new TemplateGenerator instance with the provided options.
WithExtraFormaterByExt adds extra file format functions to the TemplateGenerator.
WithExtraFuncs adds extra template functions to the TemplateGenerator.
# Variables
ErrUnsupportedFileType is an error indicating that the file type is not supported.
# Structs
TemplateGenerator struct holds the configuration and methods for generating templates.
# Type aliases
FormaterByExtMap is a map associating file extensions with formatting functions.
Option is a functional option to configure TemplateGenerator.