Documentation
¶
Overview ¶
Package raw exposes lower level methods that interact with the 'go' CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API contains methods gathering coverage statistics.
func New ¶
New returns a reference to an API
func (*API) AggregateRawPackageAnalysisData ¶
func (a *API) AggregateRawPackageAnalysisData(pkg string, rawPkgCoverageData []string) (*pckg.Stats, error)
AggregateRawPackageAnalysisData reduces raw coveraeg data to a structured object that contains summarized information about the analysis.
func (*API) GetRawCoverageAnalysisForPackage ¶
GetRawCoverageAnalysisForPackage shells out a go test command and returns three values: - The raw coverage results for the package - Whether or not the package's unit tests failed. - An error, should one have occurred during processing.
Source Files
¶
- api.go
Click to show internal directories.
Click to hide internal directories.