Skip to content

Commit

Permalink
Remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
boreq committed Nov 17, 2023
1 parent 199cb43 commit 4c98f71
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
14 changes: 0 additions & 14 deletions cmd/event-service/di/inject_adapters.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion cmd/event-service/di/inject_pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var sqlitePubsubSet = wire.NewSet(
sqlite.NewPubSub,

sqlite.NewSubscriber,
//wire.Bind(new(app.Subscriber), new(*sqlite.Subscriber)),
)

var sqliteTxPubsubSet = wire.NewSet(
Expand Down

0 comments on commit 4c98f71

Please sign in to comment.