Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
Functions ¶
This section is empty.
Types ¶
type CSVPrinter ¶
func (*CSVPrinter) Output ¶
func (d *CSVPrinter) Output(data map[string]float64)
Output implements Printer
type CalculatorV1 ¶
type CalculatorV1 struct {
// contains filtered or unexported fields
}
CalculatorV1 calculates the test coverage for a directory and it's sub-directories
func (*CalculatorV1) Calculate ¶
func (c *CalculatorV1) Calculate(path string) error
Calculate will calculate the coverage
func (*CalculatorV1) Output ¶
func (c *CalculatorV1) Output(writer io.Writer)
Output will print the coverage data to the supplied writer
type CalculatorV2 ¶
type CalculatorV2 struct {
// contains filtered or unexported fields
}
CalculatorV2 calculates the test coverage for a directory and it's sub-directories
func (*CalculatorV2) Calculate ¶
func (c *CalculatorV2) Calculate(path string) error
Calculate will calculate the coverage
func (CalculatorV2) Output ¶
func (c CalculatorV2) Output(writer io.Writer)
Output will print the coverage data to the supplied writer
func (CalculatorV2) OutputCSV ¶
func (c CalculatorV2) OutputCSV(writer io.Writer)
OutputCSV will print the coverage data to the supplied writer
type CalculatorV3 ¶
type CalculatorV3 struct {
// contains filtered or unexported fields
}
CalculatorV3 calculates the test coverage for a directory and it's sub-directories
func (*CalculatorV3) Calculate ¶
func (c *CalculatorV3) Calculate(path string) error
Calculate will calculate the coverage
type DefaultPrinter ¶
func (*DefaultPrinter) Output ¶
func (d *DefaultPrinter) Output(data map[string]float64)
Output implements Printer
Click to show internal directories.
Click to hide internal directories.