constant

package
v0.0.0-...-111306c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadStatic

func LoadStatic(app *echo.Echo)

Types

type Template

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

init struct for template

func LoadTemplate

func LoadTemplate() *Template

func (*Template) Render

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

set render used for call template name eg index.html

Jump to

Keyboard shortcuts

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