From ad6de97979e137d140d11d7d2cb45f3baf010d1d Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 22 Mar 2020 14:05:32 +0100 Subject: [PATCH] fix: actually get service handler --- http.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http.go b/http.go index 1f825f9..722be73 100644 --- a/http.go +++ b/http.go @@ -60,6 +60,7 @@ func (server httpServer) ServeHTTP(res http.ResponseWriter, req *http.Request) { for _, handler := range server.handlers { if handler.GetMethod() == service.Method && handler.GetPath() == service.Pattern { + foundHandler = handler found = true } }