From c6f91b272056255edbacf0d81b75b5995febf175 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Thu, 27 Nov 2025 11:14:15 +0800 Subject: style: run gofmt --- router.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/router.go b/router.go index a9137be..193d076 100644 --- a/router.go +++ b/router.go @@ -38,7 +38,6 @@ func (r *Router) Find(method string, path string) (Handler, map[string]string) { continue } - // compare each segment params := make(map[string]string) matched := true @@ -70,8 +69,8 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) { return } handler(&Context{ - W: w, - R: req, - Params: params, + W: w, + R: req, + Params: params, }) } -- cgit v1.2.3