dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit a04a06b2163e1153b6d2068662fa5334783dfb4d
parent 06a3f074c513a0a2174f3a4658dc571a4f37b515
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sat,  3 Dec 2022 22:39:07 -0500

cleanup

Diffstat:
Mpkg/template/templates.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/template/templates.go b/pkg/template/templates.go @@ -68,7 +68,7 @@ type templateDataStruct struct { } // Render render a template -func (t *Templates) Render(w io.Writer, name string, data interface{}, c echo.Context) error { +func (t *Templates) Render(w io.Writer, name string, data any, c echo.Context) error { tmpl := t.Templates[name] d := templateDataStruct{}