analyzer

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapPackagesToFunctions

func MapPackagesToFunctions(
	filePath string,
	projectFiles []string,
	fset *token.FileSet,
	goSrc string,
) (map[string][]profile.FunctionCoverage, error)

Types

type PackageCoverages

type PackageCoverages struct {
	// contains filtered or unexported fields
}

func NewPackageCoverages

func NewPackageCoverages(packagesToFunctions map[string][]profile.FunctionCoverage) *PackageCoverages

func (*PackageCoverages) Coverage

func (p *PackageCoverages) Coverage(pkg string) (coverage, bool)

Jump to

Keyboard shortcuts

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