feat: reimplementd GetTVShow handler

This commit is contained in:
2024-11-06 02:19:26 +01:00
parent cba9dd3ffc
commit dd3853af7b
9 changed files with 28 additions and 128 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import (
"github.com/zepyrshut/rating-orama/internal/repository"
)
const version = "0.2.0-beta.20241116"
const version = "0.2.0-beta.20241116-4"
var app *config.App
+2
View File
@@ -11,6 +11,8 @@ func Router(h *handlers.Handlers, app *config.App) *gin.Engine {
gin.SetMode(app.AppInfo.GinMode)
r := gin.New()
r.GET("/tvshow", h.GetTVShow)
// app.Use(recover.New())
// app.Static("/js", "./views/js")