Skip to content

Commit

Permalink
Remove unused container type
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinav committed Feb 8, 2022
1 parent e4d006b commit 8aa68c0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions module.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,6 @@ import (
"go.uber.org/dig"
)

// A container represents a set of constructors to provide
// dependencies, and a set of functions to invoke once all the
// dependencies have been initialized.
//
// This definition corresponds to the dig.Container and dig.Scope.
type container interface {
Invoke(interface{}, ...dig.InvokeOption) error
Provide(interface{}, ...dig.ProvideOption) error
}

// Module is a named group of zero or more fx.Options. A Module is a
// dependency graph with limited scope, and can be used for scoping
// graph modifications (not implemented yet).
Expand Down

0 comments on commit 8aa68c0

Please sign in to comment.