report

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 8 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

Jump to

Keyboard shortcuts

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