aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/renderer.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/admin/renderer.go')
-rw-r--r--backend/admin/renderer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/admin/renderer.go b/backend/admin/renderer.go
index d38c701..ba9dba9 100644
--- a/backend/admin/renderer.go
+++ b/backend/admin/renderer.go
@@ -27,7 +27,7 @@ func NewRenderer() *Renderer {
}
}
-func (r *Renderer) Render(w io.Writer, name string, data interface{}, _ echo.Context) error {
+func (r *Renderer) Render(w io.Writer, name string, data any, _ echo.Context) error {
tmpl, ok := r.templates[name]
if !ok {
t, err := template.ParseFS(templatesFS, "templates/base.html", "templates/"+name+".html")