add dummy routes and handlers and update makefile

This commit is contained in:
2025-10-23 00:33:19 +02:00
parent 7c3ec901cd
commit 14e5752d35
5 changed files with 62 additions and 8 deletions
+16
View File
@@ -0,0 +1,16 @@
package router
import (
"fmt"
"net/http"
)
func SetupRoutes() *http.ServeMux {
mux := http.NewServeMux()
mux.HandleFunc("GET /", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "hello world")
})
return mux
}