Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DependencyGraph ¶
type DependencyGraph struct {
// contains filtered or unexported fields
}
func BuildDependencyGraph ¶
func BuildDependencyGraph(ctx context.Context, moduleDir string, direction EdgeDirection) (*DependencyGraph, error)
func (*DependencyGraph) GetImporters ¶
func (d *DependencyGraph) GetImporters(pkgName string) ([]string, error)
func (*DependencyGraph) String ¶
func (d *DependencyGraph) String() string
type EdgeDirection ¶
type EdgeDirection string
const ( EdgeDirectionToDependency EdgeDirection = "to_dependency" EdgeDirectionFromDependency EdgeDirection = "from_dependency" )
Click to show internal directories.
Click to hide internal directories.