package
0.1.82
Repository: https://github.com/techmaster/core.git
Documentation: pkg.go.dev

# README

Copyright Notice

I copied code from https://github.com/kataras/blocks then applied bug fix

# Functions

Get retrieves the associated Blocks view engine retrieved from the request's context.
New returns a fresh Blocks engine instance.
Blocks returns a new blocks view engine.
Register register a function map that will be available across all Blocks view engines.
Set returns a handler wrapper which sets the current view engine to this "v" Blocks.
WrapBlocks wraps an initialized blocks engine and returns its Iris adapter.

# Variables

ContextKey is the request's context value for a blocks engine.

# Structs

Blocks is the main structure which holds the necessary information and options to parse and render templates.
BlocksEngine is an Iris view engine adapter for the blocks view engine.
ContextKeyType is the type which `Set` request's context value is using to store the current Blocks engine.
ErrNotExist reports whether a template was not found in the parsed templates tree.

# Type aliases

ExtensionParser type declaration to customize other extension's parsers before passed to the template's one.