package
1.5.1
Repository: https://github.com/leapkit/core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FromCtx returns the render engine from the context, it assumes the render render engine has been set by the render middleware.
FromCtx returns the render engine from the context when its called it also adds any value in the valuer into the page, this is useful for the middlewares such as session to add values to the page.
Middleware puts the render engine in the context so the handlers can use it, it also sets a few other values that are useful for the handlers.
NewEngine builds the render engine based on the file system and the options passed to it.
NewFallbackFS returns a new FS that wraps the given directory and embedded FS.
WithDefaultLayout sets the default layout for the engine if no layout is specified in the template this layout will be used.
WithHelpers sets the helpers for the engine these helpers will be available in all templates rendered by this engine.

# Variables

AllHelpers contains all of the default helpers for These will be available to all templates.
InCtx puts the render engine in the context so the handlers can use it, it also sets a few other values that are useful for the handlers.

# Structs

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author