chore: 🚧 remove cinemagoer and fiber and add new techinque for scraping

This commit is contained in:
2024-11-06 01:59:13 +01:00
parent 6d88e96864
commit cba9dd3ffc
46 changed files with 1179 additions and 1764 deletions
+28
View File
@@ -0,0 +1,28 @@
package main
import (
"github.com/gin-gonic/gin"
"github.com/zepyrshut/rating-orama/internal/handlers"
"gopher-toolbox/config"
)
func Router(h *handlers.Handlers, app *config.App) *gin.Engine {
gin.SetMode(app.AppInfo.GinMode)
r := gin.New()
// app.Use(recover.New())
// app.Static("/js", "./views/js")
// app.Static("/css", "./views/css")
// app.Get("/", handlers.Repo.Index)
// app.Get("/another", handlers.Repo.Another)
// app.Get("/tv-show", handlers.Repo.GetAllChapters)
// dev := app.Group("/dev")
// dev.Get("/ping", handlers.Repo.Ping)
// dev.Get("/panic", handlers.Repo.Panic)
return r
}