summaryrefslogtreecommitdiff
path: root/internal/server/router.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-06-02 15:00:41 +0300
committerGrailFinder <wohilas@gmail.com>2024-06-02 15:00:41 +0300
commit60fc1773241195f4988ed8066e019bbc42267085 (patch)
tree91dec5a4e298a8b3eb0870649ed8d5031a685001 /internal/server/router.go
parentd0ec9f38b17dadf4c244904e28e064d6ad7c5674 (diff)
Enha: add db method to list recs
Diffstat (limited to 'internal/server/router.go')
-rw-r--r--internal/server/router.go2
1 files changed, 1 insertions, 1 deletions
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()
}