routing.go 219 B

123456789101112131415
  1. package api
  2. import (
  3. chi "github.com/go-chi/chi"
  4. routes "github.com/nchursin/formtgbot/api/routes"
  5. )
  6. func Routes() *chi.Mux {
  7. router := chi.NewRouter()
  8. router.Post("/response", routes.Response)
  9. return router
  10. }