deps

package
v0.0.0-...-9d3cee1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2022 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL