initial page

This commit is contained in:
2025-02-13 08:24:00 +01:00
parent 2cc8a03491
commit 32fea815f2
47 changed files with 2490 additions and 0 deletions

11
middlewares/combine.go Normal file
View File

@@ -0,0 +1,11 @@
package middlewares
import "net/http"
func Combine(nexts ...http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
for _, next := range nexts {
next.ServeHTTP(w, r)
}
})
}