move to templ

This commit is contained in:
bronku 2026-06-11 08:48:01 +02:00
parent 31a33cc220
commit bb32802324
34 changed files with 1011 additions and 528 deletions

View file

@ -1,5 +1,9 @@
package server
import "net/http"
import (
"net/http"
type fetcher func(r *http.Request) (any, int, error)
"github.com/a-h/templ"
)
type fetcher func(r *http.Request) (templ.Component, int, error)