Documentation
¶
Overview ¶
Package profile exposes methods for working with coverage profile files and other profile related files.
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 for creating a coverage profile.
func New ¶
func New(packageAPI interfaces.PackageAPI, osioAPI hostiface.OSIOAPI) *API
New returns a reference to a profile api.
func (*API) BuildAndSaveCoverageProfile ¶
BuildAndSaveCoverageProfile builds and saves a coverage profile that can be consumed by go tool cover -html.
Source Files
¶
- api.go
Click to show internal directories.
Click to hide internal directories.