template

package
v0.0.0-...-08dd2ef Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Template

type Template struct {
	// contains filtered or unexported fields
}

Template is a struct required for rendering templating views

func GetRenderer

func GetRenderer(location string, theme string) *Template

GetRenderer returns the complete renderer for Echo to use

func (*Template) Render

func (t *Template) Render(
	w io.Writer,
	name string,
	data interface{},
	c echo.Context,
) error

Render handles the actual rendering of the templates

Jump to

Keyboard shortcuts

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