1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-02 09:47:17 +00:00

add 'iris.Blocks' template engine

read more about its features at: https://github.com/kataras/blocks
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-05 06:46:45 +03:00
parent 6844be57ea
commit b363492cca
24 changed files with 631 additions and 40 deletions

View File

@@ -29,6 +29,7 @@ type AmberEngine struct {
var _ Engine = (*AmberEngine)(nil)
// Amber creates and returns a new amber view engine.
// The given "extension" MUST begin with a dot.
func Amber(directory, extension string) *AmberEngine {
s := &AmberEngine{
directory: directory,