renderer

package
v0.0.0-...-96f436b Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TemplateDirectory string `yaml:"template_dir"`
}

type Renderer

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

func New

func New(cfg *Config) (*Renderer, error)

func (Renderer) Render

func (r Renderer) Render(w io.Writer, name string, data any, c echo.Context) error

Jump to

Keyboard shortcuts

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