diff --git a/cmd/event-service/di/inject_adapters.go b/cmd/event-service/di/inject_adapters.go index d95cd3f..a8d16f6 100644 --- a/cmd/event-service/di/inject_adapters.go +++ b/cmd/event-service/di/inject_adapters.go @@ -49,20 +49,6 @@ var adaptersSet = wire.NewSet( prometheus.NewPrometheus, wire.Bind(new(app.Metrics), new(*prometheus.Prometheus)), wire.Bind(new(relays.Metrics), new(*prometheus.Prometheus)), - - //adapters.NewIDGenerator, - //wire.Bind(new(app.SessionIDGenerator), new(*adapters.IDGenerator)), - //wire.Bind(new(app.AccountIDGenerator), new(*adapters.IDGenerator)), - // - //adapters.NewRelaySource, - //adapters.NewPurplePages, - //wire.Bind(new(app.RelaySource), new(*adapters.RelaySource)), - // - //adapters.NewRelayEventDownloader, - //wire.Bind(new(app.RelayEventDownloader), new(*adapters.RelayEventDownloader)), - // - //adapters.NewTwitterAccountDetailsCache, - //wire.Bind(new(app.TwitterAccountDetailsCache), new(*adapters.TwitterAccountDetailsCache)), ) func newAdaptersFactoryFn(deps buildTransactionSqliteAdaptersDependencies) sqlite.AdaptersFactoryFn { diff --git a/cmd/event-service/di/inject_pubsub.go b/cmd/event-service/di/inject_pubsub.go index a8bca5d..7325c74 100644 --- a/cmd/event-service/di/inject_pubsub.go +++ b/cmd/event-service/di/inject_pubsub.go @@ -23,7 +23,6 @@ var sqlitePubsubSet = wire.NewSet( sqlite.NewPubSub, sqlite.NewSubscriber, - //wire.Bind(new(app.Subscriber), new(*sqlite.Subscriber)), ) var sqliteTxPubsubSet = wire.NewSet(