//
pkg.gl
Category
github.com/s12chung/gostatic
go
lib
html
package
1.0.0-beta.2
Repository:
https://github.com/s12chung/gostatic.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
1
Files
209 SLOC
#
Functions
DefaultSettings
DefaultSettings is the default settings of the HTML templates.
NewRenderer
NewRenderer returns a new instance of Renderer.
NewScratch
NewScratch returns a clean instance of Scratch.
#
Structs
Renderer
Renderer holds settings and config to Render with.
Scratch
Scratch is a struct holding temp data, inspired by: https://gohugo.io/functions/scratch.
Settings
Settings represents the settings of the HTML templates.
#
Interfaces
Plugin
Plugin for Renderer to add template functions with.