Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct {
Path string // import path of package in dir
Node bool // node package
Edge bool // edge package
Detail bool // if false Path only
Goroot bool // is this package in the Go root?
Standard bool // is this package part of the standard Go library?
ForTest string // package is only for use in named test
Incomplete bool // this package or a dependency has an error
DepOnly bool // package is only a dependency, not explicitly listed
Contained *golist.Module // info about package's containing module, if any (can be nil)
Imports []string // import paths used by this package
UseCGO bool // use CGO in this package
UseUnsafe bool // use unsafe package in this package
Error error // error loading package
}
Package information
func (*Package) IsInternal ¶
IsInternal returns true if internal package
func (*Package) IsStandard ¶
IsStandard returns true if standard Go library
type Packages ¶
type Packages struct {
// contains filtered or unexported fields
}
Packages is list of Packages.
func ImportPackages ¶
ImportPackages gets packages dependency information
Click to show internal directories.
Click to hide internal directories.