cobertura

package
v0.0.0-...-9319dc5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByLineNum

type ByLineNum []Lines

Interface to sort []Lines by line number

func (ByLineNum) Len

func (a ByLineNum) Len() int

func (ByLineNum) Less

func (a ByLineNum) Less(i, j int) bool

func (ByLineNum) Swap

func (a ByLineNum) Swap(i, j int)

type Formatter

type Formatter struct {
	Path string
}

func (Formatter) Format

func (r Formatter) Format() (formatters.Report, error)

func (*Formatter) Search

func (f *Formatter) Search(paths ...string) (string, error)

type Lines

type Lines struct {
	Num  int `xml:"number,attr"`
	Hits int `xml:"hits,attr"`
}

type Source

type Source struct {
	Path string `xml:",chardata"`
}

Jump to

Keyboard shortcuts

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