tmplrender

package module
v0.0.0-...-3c30fdc Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 10 Imported by: 0

README

tmplrender

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderFunc

type RenderFunc func(http.ResponseWriter, string, interface{})

type Renderer

type Renderer struct {
	FS      fs.FS
	NoCache bool
	// contains filtered or unexported fields
}

func New

func New(path string, embedded fs.FS) *Renderer

func (*Renderer) Render

func (r *Renderer) Render(w http.ResponseWriter, name string, ctx interface{})

Jump to

Keyboard shortcuts

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