From 102a19e6b3fe62a5eae575f3967772684dfb239a Mon Sep 17 00:00:00 2001 From: Daniil Mironenko Date: Tue, 17 Dec 2024 23:14:34 +0300 Subject: [PATCH] remove println --- cmd/csat/main.go | 2 -- microservices/csat/delivery/http/routes.go | 3 --- microservices/user/delivery/http/routes.go | 3 --- 3 files changed, 8 deletions(-) diff --git a/cmd/csat/main.go b/cmd/csat/main.go index 9fee628..7cae1da 100644 --- a/cmd/csat/main.go +++ b/cmd/csat/main.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "log" "sync" @@ -36,7 +35,6 @@ func main() { s := httpServer.New(cfg, pg, s3, logger, metrics) csatHttp.BindRoutes(s) - fmt.Println("csat http binded") var wg sync.WaitGroup wg.Add(1) diff --git a/microservices/csat/delivery/http/routes.go b/microservices/csat/delivery/http/routes.go index 02740f3..3845dee 100644 --- a/microservices/csat/delivery/http/routes.go +++ b/microservices/csat/delivery/http/routes.go @@ -1,7 +1,6 @@ package http import ( - "fmt" "net/http" "github.com/go-park-mail-ru/2024_2_NovaCode/internal/middleware" @@ -44,6 +43,4 @@ func BindRoutes(s *httpServer.Server) { middleware.CSRFMiddleware(&s.CFG.Service.Auth.CSRF, s.Logger, http.HandlerFunc(csatHandlers.SubmitAnswer)), ), ).Methods("POST") - - fmt.Println("routes have binded") } diff --git a/microservices/user/delivery/http/routes.go b/microservices/user/delivery/http/routes.go index 44201b8..b69e5e1 100644 --- a/microservices/user/delivery/http/routes.go +++ b/microservices/user/delivery/http/routes.go @@ -1,7 +1,6 @@ package http import ( - "fmt" "net/http" s3Repo "github.com/go-park-mail-ru/2024_2_NovaCode/pkg/db/s3/repository/s3" @@ -60,6 +59,4 @@ func BindRoutes(s *httpServer.Server) { "/api/v1/auth/health", middleware.AuthMiddleware(&s.CFG.Service.Auth, s.Logger, http.HandlerFunc(userHandleres.Health)), ).Methods("GET") - - fmt.Println("routes have binded") }