Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Report ¶
Report of the coverage results
func GenerateReport ¶
func GenerateReport(coverprofile string, root string, exclusions []string, sortBy, order string, packages bool) (Report, error)
Generates a coverage report given the coverage profile file, and the following configurations: exclusions: packages to be excluded (if a package is excluded, all its subpackages are excluded as well) sortBy: the order in which the files will be sorted in the report (see sortResults) order: the direction of the the sorting
Click to show internal directories.
Click to hide internal directories.