diff options
author | GrailFinder <wohilas@gmail.com> | 2024-05-29 08:42:36 +0300 |
---|---|---|
committer | GrailFinder <wohilas@gmail.com> | 2024-05-29 08:42:36 +0300 |
commit | d0ec9f38b17dadf4c244904e28e064d6ad7c5674 (patch) | |
tree | c9edf41291ed0a0d3bc12d3293cb013351d62d3b /internal/server/router.go | |
parent | 9b52a88e971e70facc74778c133244f8a93b1f31 (diff) |
Feat: add recommendations [wip]
Diffstat (limited to 'internal/server/router.go')
-rw-r--r-- | internal/server/router.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/server/router.go b/internal/server/router.go index ae68418..f36e55f 100644 --- a/internal/server/router.go +++ b/internal/server/router.go @@ -29,6 +29,8 @@ func (srv *server) ListenToRequests() { // ====== elements ====== mux.HandleFunc("GET /showform", h.ServeShowForm) mux.HandleFunc("GET /hideform", h.ServeHideForm) + mux.HandleFunc("GET /recommendation", h.ShowRecommended) + mux.HandleFunc("GET /recommendation-hide", h.HideRecommended) fmt.Printf("Listening on %v\n", server.Addr) server.ListenAndServe() |