Skip to content

Commit

Permalink
fix: remove unused factoryOut
Browse files Browse the repository at this point in the history
  • Loading branch information
Reasno committed Sep 10, 2021
1 parent 5b0a40b commit ecc44a5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions otmongo/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,6 @@ type factoryIn struct {
Dispatcher contract.Dispatcher `optional:"true"`
}

// factoryOut is the result of Provide. The official mongo package doesn't
// provide a proper interface type. It is up to the users to define their own
// mongodb repository interface.
type factoryOut struct {
dig.Out

Factory Factory
Maker Maker
}

// Provide creates Factory and *mongo.Client. It is a valid dependency for
// package core.
func provideMongoFactory(po *providersOption) func(p factoryIn) (Factory, func()) {
Expand Down

0 comments on commit ecc44a5

Please sign in to comment.