xtablo-source/backend/cmd
Arthur Belleville bdd3cba314
feat(07-01): wire embed.FS into NewRouter and RunMigrations into cmd/web/main.go
- backend/internal/web/router.go: staticDir string -> staticFS fs.FS; /healthz uses HealthzHandler(); /readyz registered with ReadyzHandler(pinger); embedded FS served via fs.Sub()
- backend/cmd/web/main.go: import assets "backend"; db.RunMigrations(ctx, pool, assets.Migrations) before router; web.NewRouter now receives assets.Static
- All *_test.go NewRouter call sites updated from "./static" to os.DirFS("./static"); "os" import added where missing
2026-05-15 18:14:33 +02:00
..
web feat(07-01): wire embed.FS into NewRouter and RunMigrations into cmd/web/main.go 2026-05-15 18:14:33 +02:00
worker feat(06-02): replace cmd/worker skeleton with full river wiring 2026-05-15 16:37:20 +02:00