nidus-sync/report/endpoint.go

19 lines
242 B
Go
Raw Normal View History

package report
import (
"fmt"
"net/http"
"github.com/go-chi/chi/v5"
)
func Router() chi.Router {
r := chi.NewRouter()
r.Get("/", getRoot)
return r
}
func getRoot(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Herro.")
}