From f91090b35e0869e8efc554c1bdbcc68faa8897ea Mon Sep 17 00:00:00 2001 From: Ankit Patial Date: Thu, 10 Jul 2025 19:09:29 +0530 Subject: [PATCH] Func rename --- router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router.go b/router.go index 3dbacbb..1aa7837 100644 --- a/router.go +++ b/router.go @@ -20,8 +20,8 @@ func NewRouter() *Router { return r } -// DO NOT USE it for routing, exposed only for edge cases. -func (r *Router) ServeMux() *http.ServeMux { +// Mux DO NOT USE it for routing, exposed only for edge cases. +func (r *Router) Mux() *http.ServeMux { return r.mux }