diff --git a/routing.go b/routing.go index 497e3ec..47d7248 100644 --- a/routing.go +++ b/routing.go @@ -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) {