This commit is contained in:
2025-11-24 10:19:03 +03:00
commit d8b4916801
3 changed files with 23 additions and 0 deletions

16
cmd/observ.go Normal file
View File

@@ -0,0 +1,16 @@
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")) //nolint:errcheck
})
http.ListenAndServe(":8080", r) //nolint:errcheck
}