Documentation ¶
Index ¶
- Constants
- Variables
- func FillerDiv(s string) template.HTML
- func LoremIpsum(n int) template.HTML
- func MakeAppStateTest0() *appstate.AppState
- func MakeAppStateTest1(folder loader.MyTreeNode) *appstate.AppState
- func MakeFolderTreeOfMarkdown() *loader.MyFolder
- func MakeNamedFolderTreeOfMarkdown(top *loader.MyFolder) *loader.MyFolder
- func RenderHtmlToFile(t *testing.T, tmplBare string, values any)
- func RenderTextToFile(t *testing.T, tmplBare string, values any)
- type AppState
Constants ¶
View Source
const (
TmplTestName = "testableTemplate"
)
For testing.
Variables ¶
View Source
var ( //go:embed testutil.css Css string //go:embed testutil.js Js string )
Functions ¶
func LoremIpsum ¶
func MakeAppStateTest0 ¶
func MakeAppStateTest1 ¶
func MakeAppStateTest1(folder loader.MyTreeNode) *appstate.AppState
Types ¶
Click to show internal directories.
Click to hide internal directories.