templates

package
Version: v0.0.0-...-db8f46d Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderError

func RenderError(c echo.Context, status int, msg string) error

Types

type ErrorData

type ErrorData struct {
	Message string
}

type Templates

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

func Load

func Load() (*Templates, error)

func (*Templates) Render

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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL