renderer

package
v0.0.0-...-19fc164 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderEngine

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

func NewRenderEngine

func NewRenderEngine(
	isDevelopment bool,
	directory string,
	release string,
	templatesFS embed.FS,
) *RenderEngine

func (*RenderEngine) MustRenderHTML

func (r *RenderEngine) MustRenderHTML(name string, data map[string]any, layout ...string) []byte

func (*RenderEngine) Render

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

Jump to

Keyboard shortcuts

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