move to templ
This commit is contained in:
parent
31a33cc220
commit
bb32802324
34 changed files with 1011 additions and 528 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue