refactor: update watchlist module imports for flattened package structure

This commit is contained in:
2026-05-28 12:40:03 +02:00
parent cdebd407e4
commit cf9c60ba70

View File

@@ -2,21 +2,18 @@ package watchlist
import (
"mal/internal/server"
"mal/internal/watchlist/handler"
"mal/internal/watchlist/repository"
"mal/internal/watchlist/service"
"go.uber.org/fx"
)
var Module = fx.Options(
fx.Provide(
repository.NewWatchlistRepository,
service.NewWatchlistService,
handler.NewWatchlistHandler,
NewWatchlistRepository,
NewWatchlistService,
NewWatchlistHandler,
),
fx.Provide(
server.AsRouteRegister(func(h *handler.WatchlistHandler) server.RouteRegister {
server.AsRouteRegister(func(h *WatchlistHandler) server.RouteRegister {
return h
}),
),