Func rename
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user