Func rename

This commit is contained in:
2025-07-10 19:09:29 +05:30
parent 5b380a294b
commit f91090b35e

View File

@@ -20,8 +20,8 @@ func NewRouter() *Router {
return r return r
} }
// DO NOT USE it for routing, exposed only for edge cases. // Mux DO NOT USE it for routing, exposed only for edge cases.
func (r *Router) ServeMux() *http.ServeMux { func (r *Router) Mux() *http.ServeMux {
return r.mux return r.mux
} }