Documentation ¶
Overview ¶
Copyright (C) 2024 early (LGPL)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Page = page.New("ex04", "page.html", page.OnLoad(func(data render.Data) error { data.Set("message", "Hello, Mast!") return nil }), page.Funcs(template.FuncMap{ "reverse": func(s string) string { out := make([]byte, len(s)) for i := range (len(s) + 1) / 2 { j := len(s) - i - 1 out[i] = s[j] out[j] = s[i] } return string(out) }, }), page.Includes(parts.ExampleNav), )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.