Documentation
¶
Index ¶
- type Graph
- func (g *Graph) AffectedTestPackages(seeds []string) []string
- func (g *Graph) BrokenPackages() []string
- func (g *Graph) DependencyClosure(seeds []string) []string
- func (g *Graph) Len() int
- func (g *Graph) MarshalBinary() ([]byte, error)
- func (g *Graph) Modules() []string
- func (g *Graph) Package(importPath string) (*Package, bool)
- func (g *Graph) PackageForFile(absPath string) (*Package, bool)
- func (g *Graph) Packages() []string
- func (g *Graph) ProductionClosure(seeds []string) map[string]bool
- func (g *Graph) TestablePackages() []string
- type LoadOptions
- type Package
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
func UnmarshalGraph ¶
func (*Graph) AffectedTestPackages ¶
func (*Graph) BrokenPackages ¶
func (*Graph) DependencyClosure ¶
func (*Graph) MarshalBinary ¶
func (*Graph) Packages ¶
Packages lists every package in the workspace, testable or not. Risk analysis needs the untestable ones too: a package with no tests of its own may still be covered by its importers, or by nothing.
func (*Graph) TestablePackages ¶
type LoadOptions ¶
Click to show internal directories.
Click to hide internal directories.