all working

This commit is contained in:
2025-01-28 21:59:53 +01:00
parent 1786100052
commit 955ac89c1a
28 changed files with 3355 additions and 2300 deletions
+2 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/zepyrshut/rating-orama/internal/repository"
)
const version = "0.2.0-beta.20241116-4"
const version = "0.2.0-beta.20250128-1"
const appName = "rating-orama"
func init() {
@@ -25,6 +25,7 @@ var database embed.FS
func main() {
engine := html.New("./views", ".html")
engine.Reload(true)
app := app.NewExtendedApp(appName, version, ".env")
app.Migrate(database)
+1
View File
@@ -7,6 +7,7 @@ import (
func router(h *handlers.Handlers, r *fiber.App) {
r.Get("/", h.GetIndex)
r.Get("/tvshow", h.GetTVShow)
}