update project

This commit is contained in:
2024-11-25 16:10:58 +01:00
parent a6f3325842
commit 958ef12e91
9 changed files with 108 additions and 91 deletions
+3 -5
View File
@@ -1,14 +1,12 @@
package main
import (
"github.com/gofiber/fiber/v2"
"github.com/zepyrshut/rating-orama/internal/handlers"
"ron"
)
func router(h *handlers.Handlers, r *ron.Engine) {
func router(h *handlers.Handlers, r *fiber.App) {
r.GET("/ping", h.Ping)
r.GET("/error", h.Error)
r.GET("/tvshow", h.GetTVShow)
r.Get("/tvshow", h.GetTVShow)
}