From 04842fd38dfc45369f32278ec17f23b070482dba Mon Sep 17 00:00:00 2001 From: Mark Bailey Date: Sat, 6 Sep 2025 18:36:42 -0400 Subject: [PATCH] refactor(routing): use pointer --- routing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routing.go b/routing.go index 09727a6..c82b443 100644 --- a/routing.go +++ b/routing.go @@ -38,7 +38,7 @@ func NewRouteInfo(method, path, description, title string) (*RouteInfo, error) { type routeInfoKey struct{} type Router struct { - chi.Mux + *chi.Mux cache RouteCacher cacheTTL time.Duration }