Skip to content

Commit

Permalink
Merge pull request #105 from go-park-mail-ru/test
Browse files Browse the repository at this point in the history
remove println
  • Loading branch information
daronenko authored Dec 17, 2024
2 parents 184aef3 + 102a19e commit c2874e5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions cmd/csat/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"fmt"
"log"
"sync"

Expand Down Expand Up @@ -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)
Expand Down
3 changes: 0 additions & 3 deletions microservices/csat/delivery/http/routes.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package http

import (
"fmt"
"net/http"

"github.com/go-park-mail-ru/2024_2_NovaCode/internal/middleware"
Expand Down Expand Up @@ -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")
}
3 changes: 0 additions & 3 deletions microservices/user/delivery/http/routes.go
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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")
}

0 comments on commit c2874e5

Please sign in to comment.