thea

package module
v0.0.0-...-d7fef8a Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

README

thea

Template and View Manager for Go Webapps

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	FS fs.FS
}

type ViewManager

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

func New

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

func (ViewManager) Render

func (vm ViewManager) Render(w http.ResponseWriter, view string, data interface{})

Jump to

Keyboard shortcuts

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