We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f774a98 commit c1350a7Copy full SHA for c1350a7
graph.go
@@ -24,8 +24,6 @@ import "go.uber.org/dig/internal/graph"
24
25
// graphNode is a single node in the dependency graph.
26
type graphNode struct {
27
- // The index of this node in the graphHolder's nodes.
28
- Order int
29
Wrapped interface{}
30
}
31
@@ -83,7 +81,6 @@ func (gh *graphHolder) EdgesFrom(u int) []int {
83
81
func (gh *graphHolder) NewNode(wrapped interface{}) int {
84
82
order := len(gh.nodes)
85
gh.nodes = append(gh.nodes, &graphNode{
86
- Order: order,
87
Wrapped: wrapped,
88
})
89
return order
0 commit comments