Versions in this module Expand all Collapse all v0 v0.1.0 Oct 19, 2023 Changes in this version + var ErrRootPkgNotResolved = errors.New("unable to resolve root package") + type Importer interface + Import func(name, srcDir string, im build.ImportMode) (*build.Package, error) + type Pkg struct + Deps []Pkg + Internal bool + Name string + Parent *Pkg + Raw *build.Package + Resolved bool + SrcDir string + Test bool + Tree *Tree + func (p *Pkg) Resolve(i Importer) + func (p *Pkg) String() string + type Tree struct + Importer Importer + MaxDepth int + ResolveInternal bool + ResolveTest bool + Root *Pkg + func (t *Tree) Resolve(name string) error + func (t Tree) FindLoop(ref string) (found bool, chain []string)