report

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: MIT Imports: 9 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report struct {
	Repository string             `json:"repository"`
	Ref        string             `json:"ref"`
	Commit     string             `json:"commit"`
	Coverage   *coverage.Coverage `json:"coverage"`
	Timestamp  time.Time          `yaml:"timestamp"`
}

func New

func New() *Report

func (*Report) CoveragePercent

func (r *Report) CoveragePercent() float64

func (*Report) MeasureCoverage

func (r *Report) MeasureCoverage(path string) error

func (*Report) String

func (r *Report) String() string

func (*Report) Validate added in v0.2.0

func (r *Report) Validate() error

Jump to

Keyboard shortcuts

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