Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pkg ¶
type Pkg struct { Name string FullImportPath string Dir string // contains filtered or unexported fields }
Pkg represents a Go source package, and its dependencies.
type ResolveContext ¶
type ResolveContext struct {
// contains filtered or unexported fields
}
ResolveContext represents all the pkg trees rooted at all the subfolders with Go code.
func (*ResolveContext) GetGraph ¶
func (rc *ResolveContext) GetGraph() graph.Graph
GetGraph returns the graph of resolved packages
func (ResolveContext) GetUnresolvedPackages ¶
func (rc ResolveContext) GetUnresolvedPackages() []string
GetUnresolvedPackages returns a list of all the pkgs that failed to resolve
func (*ResolveContext) ResolvePath ¶
func (rc *ResolveContext) ResolvePath(rootPath string, ignoredPkgs []string) error
ResolvePath recursively finds all direct & transitive dependencies for all the packages (and sub-packages), rooted at given path
Click to show internal directories.
Click to hide internal directories.