package
Version:
v0.0.9
Opens a new window with list of versions in this module.
Published: Mar 16, 2024
License: GPL-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Resource struct {
Templater builder
Rendered bytes.Buffer
}
Return a template.HTML version of the rendered resource
Call on a Resource to compile the template with the given context. Result is stored in r.Rendered, a bytes.Buffer
Write the rendered resource to the http.ResponseWriter
Source Files
¶
Click to show internal directories.
Click to hide internal directories.