//nolint // ignore linters to allow keeping this function around for debugging
nolint // ignore linters to allow keeping this function around for debugging
// nolint // ignore linters to allow keeping this function around for debugging
func dumpRoutes(mux chi.Routes) {
	walkFunc := func(method string, route string, handler http.Handler, middlewares ...func(http.Handler) http.Handler) error {
		fmt.Printf("%s %s\n", method, route)
		return nil
	}
	if err := chi.Walk(mux, walkFunc); err != nil {
		fmt.Printf("Logging err: %s\n", err.Error())
	}
}
func dumpRoutes ( mux chi . Routes ) { walkFunc := func ( method string , route string , handler http . Handler , middlewares ... func ( http . Handler ) http . Handler ) error { fmt . Printf ( " \n " , method , route ) return nil } if err := chi . Walk ( mux , walkFunc ) ; err != nil { fmt . Printf ( " \n " , err . Error ( ) ) } }
nolint // ignore linters to allow keeping this function around for debugging
nolint // ignore linters to allow keeping this function around for debugging
// helpful routine for logging all routes //