coverage

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateOverall

func CalculateOverall(results []*Result) float64

Types

type Result

type Result struct {
	Target         string
	CoveredLines   int
	UncoveredLines int
}

func Calculate

func Calculate(profileFilename string, module string, basePath string) ([]*Result, error)

Jump to

Keyboard shortcuts

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