added in a playground

This commit is contained in:
2025-09-17 22:09:01 +05:30
parent 9d0ab3c0f2
commit 75d2f88c65
7 changed files with 56 additions and 25 deletions

15
playground/chi/main.go Normal file
View File

@@ -0,0 +1,15 @@
package main
import (
"net/http"
"github.com/go-chi/chi/v5"
)
func main() {
r := chi.NewRouter()
r.Get("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("welcome"))
})
http.ListenAndServe(":3001", r)
}