From 7a39d860189c5cd0e8fdc5a602a407e3e9c22b9f Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Thu, 21 Oct 2021 14:28:32 +0300 Subject: [PATCH] remove debug print Signed-off-by: Vasiliy Tolstov --- handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler.go b/handler.go index 63e3a56..9764c83 100644 --- a/handler.go +++ b/handler.go @@ -117,11 +117,11 @@ func (h *httpServer) ServeHTTP(w http.ResponseWriter, r *http.Request) { var hldr patHandler var handler *httpHandler - fmt.Printf("try to find handler\n") + //fmt.Printf("try to find handler\n") for _, hpat := range h.handlers { handlertmp := hpat.(*httpHandler) for _, hldrtmp := range handlertmp.handlers[r.Method] { - fmt.Printf("ssss method %v path %v %#+v\n", r.Method, path, hldrtmp) + //fmt.Printf("ssss method %v path %v %#+v\n", r.Method, path, hldrtmp) _, mp, ok := hldrtmp.pat.Search(r.Method, path) if ok { match = true