analysis

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package analysis contains methods for building coverage statistics.

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

func New(rawAPI interfaces.RawAPI) *API

New returns a reference to an API

func (*API) GetCoverageStatistics

func (a *API) GetCoverageStatistics(packages []string) (result analysistypes.GetCoverageStatisticsOutput, err error)

GetCoverageStatistics gathers and returns coverage statistics for the specified packages.

Source Files

  • api.go

Directories

Path Synopsis
Package analysistypes contains types used by the analysis package.
Package analysistypes contains types used by the analysis package.
Package raw exposes lower level methods that interact with the 'go' CLI.
Package raw exposes lower level methods that interact with the 'go' CLI.

Jump to

Keyboard shortcuts

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