From 60fc1773241195f4988ed8066e019bbc42267085 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sun, 2 Jun 2024 15:00:41 +0300 Subject: Enha: add db method to list recs --- internal/server/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/server/router.go') diff --git a/internal/server/router.go b/internal/server/router.go index f36e55f..670f750 100644 --- a/internal/server/router.go +++ b/internal/server/router.go @@ -32,6 +32,6 @@ func (srv *server) ListenToRequests() { mux.HandleFunc("GET /recommendation", h.ShowRecommended) mux.HandleFunc("GET /recommendation-hide", h.HideRecommended) - fmt.Printf("Listening on %v\n", server.Addr) + fmt.Println("Listening", "addr", server.Addr) server.ListenAndServe() } -- cgit v1.2.3