reportgen

package
v0.0.0-...-c7e3ea3 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generic

type Generic struct {
	Reporter
}

func NewGeneric

func NewGeneric(path string) *Generic

func (*Generic) Generate

func (r *Generic) Generate(coverage *coveragdata.Coverage)

type Lcov

type Lcov struct {
	Reporter
}

func NewLcov

func NewLcov(path string) *Lcov

func (*Lcov) Generate

func (r *Lcov) Generate(coverage *coveragdata.Coverage)

type Reporter

type Reporter struct {
	Path string
}

type ReporterInt

type ReporterInt interface {
	Generate(*coveragdata.Coverage)
}

func NewReporters

func NewReporters(reportersName []string) []ReporterInt

type Reportgen

type Reportgen struct {
	// contains filtered or unexported fields
}

func New

func New(reporter ...ReporterInt) *Reportgen

func (*Reportgen) Report

func (g *Reportgen) Report(coverage *coveragdata.Coverage)

Jump to

Keyboard shortcuts

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