Files
scannerbot/server/api/api.go
T
2026-05-12 02:30:13 +00:00

18 lines
236 B
Go

package api
import (
"net/http"
"github.com/go-chi/chi/v5"
)
func Start() {
r := chi.NewRouter()
r.Get("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("hello world"))
})
http.ListenAndServe(":3000", r)
}