Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DependenciesContainer ¶
type DependenciesContainer struct {
// contains filtered or unexported fields
}
DependenciesContainer provides utility functions to retrieve deps of packages
func NewDependenciesContainer ¶
func NewDependenciesContainer() (*DependenciesContainer, error)
NewDependenciesContainer creates a new container Returns an error if it is unable to retrieve the listing of the GO standard packages
func (*DependenciesContainer) GetPkgDeps ¶
func (d *DependenciesContainer) GetPkgDeps(pkg *packages.Package) map[string]struct{}
GetPkgDeps retrieves the dependencies of the given package
Click to show internal directories.
Click to hide internal directories.