change to go fiber and update selectors
This commit is contained in:
+3
-5
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user