MCPcopy Create free account
hub / github.com/dreamsofcode-io/zenstats / Page

Function Page

internal/handler/index.go:15–19  ·  view source on GitHub ↗
(tmpl *template.Template, name string)

Source from the content-addressed store, hash-verified

13)
14
15func Page(tmpl *template.Template, name string) http.HandlerFunc {
16 return func(w http.ResponseWriter, r *http.Request) {
17 tmpl.ExecuteTemplate(w, name, nil)
18 }
19}
20
21type Index struct {
22 logger *slog.Logger

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected