From 4ee3221c828268bed5f93abca47f13a8020b68ac Mon Sep 17 00:00:00 2001 From: kubegu Date: Tue, 5 Mar 2024 19:40:30 +0100 Subject: [PATCH] godoc --- web/server.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/server.go b/web/server.go index 5c40367..57bd4ba 100644 --- a/web/server.go +++ b/web/server.go @@ -15,10 +15,7 @@ import ( //go:embed templates var htmlTemplates embed.FS -type Server struct { - Mux *http.ServeMux -} - +// Create Mux and setup routes func InitMux() *http.ServeMux { mux := http.NewServeMux() mux.HandleFunc("/", indexHandler)