Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Renderer ¶
func Renderer(options ...*Options) neko.HandlerFunc
Types ¶
type Options ¶
type Options struct { // BaseDir represents a base directory of the amber templates. BaseDir string // Extension represents an extension of files. Extension string // Setting if pretty printing is enabled. // Pretty printing ensures that the output html is properly indented and in human readable form. // If disabled, produced HTML is compact. This might be more suitable in production environments. // Default: true PrettyPrint bool }
Click to show internal directories.
Click to hide internal directories.