change to go fiber and update selectors

This commit is contained in:
2024-11-25 16:02:14 +01:00
parent c0dd8681aa
commit 4dbb47be37
8 changed files with 73 additions and 234 deletions
+3 -5
View File
@@ -1,14 +1,12 @@
package main
import (
"ron"
"github.com/gofiber/fiber/v2"
"github.com/zepyrshut/rating-orama/internal/handlers"
)
func router(h *handlers.Handlers, r *ron.Engine) {
func router(h *handlers.Handlers, r *fiber.App) {
r.GET("/ping", h.Ping)
r.GET("/tvshow", h.GetTVShow)
r.Get("/tvshow", h.GetTVShow)
}