html

package
v0.0.0-...-3bb7120 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component map[string]any

type View

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

func NewView

func NewView() *View

func (*View) Render

func (v *View) Render(w http.ResponseWriter, name string, data interface{})

func (*View) RenderComponent

func (v *View) RenderComponent(w http.ResponseWriter, templatePath string, td templates.TemplateData)

func (*View) RenderComponents

func (v *View) RenderComponents(w http.ResponseWriter, components []Component)

Jump to

Keyboard shortcuts

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