Files
mux/playground/mux/main.go
2025-09-17 22:09:01 +05:30

16 lines
223 B
Go

package main
import (
"net/http"
"code.patial.tech/go/mux"
)
func main() {
r := mux.New()
r.GET("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("welcome"))
})
http.ListenAndServe(":3001", r)
}