dto

package
v0.0.0-...-6727336 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Unlicense Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoverageConfig

type CoverageConfig struct {
	CoverageThreshold `json:"coverageThreshold"`
	Excludes          []string `json:"excludes"`
}

func FromJSONString

func FromJSONString(r io.Reader) (CoverageConfig, error)

func (CoverageConfig) ToJSON

func (config CoverageConfig) ToJSON(w io.Writer) error

type CoverageThreshold

type CoverageThreshold struct {
	Global  *Threshold `json:"global,omitempty"`
	Matcher *Matcher   `json:"matcher,omitempty"`
}

type Matcher

type Matcher map[string]Threshold

type Threshold

type Threshold struct {
	Statements float64 `json:"statements"`
	Lines      float64 `json:"lines"`
	Branches   float64 `json:"branches"`
	Functions  float64 `json:"functions"`
}

Jump to

Keyboard shortcuts

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