WIP: note for next session

This commit is contained in:
Mark Bailey 2025-08-31 21:23:05 -04:00
parent c039e8709e
commit 50f3748ed2

View File

@ -32,6 +32,7 @@ func NewRouter() Router {
return Router{cache: cache}
}
// FIX: figure out the right middleware pattern or way to inject route info
func WithRouteInfo(ri RouteInfo) func(http.Handler) http.Handler {
return func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {