From: 2weiEmu Date: Mon, 9 Mar 2026 23:46:46 +0000 (+0100) Subject: updated: done for the evening X-Git-Url: https://git.saalbach.dev/?a=commitdiff_plain;h=69af4362a8cda9a83e6bbc896fc62ed1eea309b1;p=binbsis50-sm.git updated: done for the evening --- diff --git a/go.mod b/go.mod index 904ba56..362d6f1 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module songmanager go 1.25.0 -require golang.org/x/net v0.51.0 +require github.com/gorilla/mux v1.8.1 diff --git a/go.sum b/go.sum index ddf8620..7128337 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,2 @@ -golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo= -golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y= -golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k= -golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= +github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= +github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= diff --git a/main.go b/main.go index 0a0da9e..7a7c825 100644 --- a/main.go +++ b/main.go @@ -4,7 +4,10 @@ import ( "flag" "fmt" "log" + "net/http" "os" + + "github.com/gorilla/mux" ) func main() { @@ -36,5 +39,10 @@ func main() { // Setting up the routing - + router := mux.NewRouter() + + router.HandleFunc() + + http.Handle("/", router) + }