html

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Templates *template.Template
	// contains filtered or unexported fields
}

Engine struct

func New

func New(directory, extension string, funcmap ...map[string]interface{}) *Engine

New returns a HTML render engine for Fiber

func (*Engine) Render

func (e *Engine) Render(out io.Writer, name string, binding interface{}) error

Execute will render the template by name

Directories

Path Synopsis
module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL