templates

package
v0.0.0-...-dfe07c5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init initializes the blocks engine and parses all templates. It ensures that initialization happens only once.

func Render

func Render(w http.ResponseWriter, tmpl string, data interface{})

Render renders a specified template with provided data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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