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 ( import (
"mal/internal/server" "mal/internal/server"
"mal/internal/watchlist/handler"
"mal/internal/watchlist/repository"
"mal/internal/watchlist/service"
"go.uber.org/fx" "go.uber.org/fx"
) )
var Module = fx.Options( var Module = fx.Options(
fx.Provide( fx.Provide(
repository.NewWatchlistRepository, NewWatchlistRepository,
service.NewWatchlistService, NewWatchlistService,
handler.NewWatchlistHandler, NewWatchlistHandler,
), ),
fx.Provide( fx.Provide(
server.AsRouteRegister(func(h *handler.WatchlistHandler) server.RouteRegister { server.AsRouteRegister(func(h *WatchlistHandler) server.RouteRegister {
return h return h
}), }),
), ),