15 lines
265 B
Go
15 lines
265 B
Go
|
package container
|
||
|
|
||
|
import (
|
||
|
"reflect"
|
||
|
|
||
|
"github.com/goccy/go-graphviz/cgraph"
|
||
|
)
|
||
|
|
||
|
type resolver interface {
|
||
|
addNode(*simpleProvider, int) error
|
||
|
resolve(*container, Scope, Location) (reflect.Value, error)
|
||
|
describeLocation() string
|
||
|
typeGraphNode() *cgraph.Node
|
||
|
}
|