Added templ, tailwind and frankenui

This commit is contained in:
2025-02-05 01:51:06 +11:00
parent 5c8d4c5158
commit b6feed7c0c
18 changed files with 1754 additions and 21 deletions

21
server/server.go Normal file
View File

@@ -0,0 +1,21 @@
package server
import (
"net/http"
"projectreshoot/middleware"
)
type Config struct {
Host string
Port string
}
func NewServer() http.Handler {
mux := http.NewServeMux()
addRoutes(
mux,
)
var handler http.Handler = mux
handler = middleware.Logging(handler)
return handler
}