app

package
v0.0.0-...-99407e8 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(writer io.Writer, reader io.Reader, flags *Flags) error

Types

type Flags

type Flags struct {
	ShowCount  bool
	ForceColor bool
	Filename   string
	Filters    []string
}

func ParseFlags

func ParseFlags(w io.Writer, cmd string, args []string) (*Flags, error)

type Printer

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

func NewPrinter

func NewPrinter(w io.Writer, flags *Flags) *Printer

func (*Printer) PrintCoverage

func (p *Printer) PrintCoverage(profiles []*Profile) error

type Profile

type Profile struct {
	*cover.Profile

	ResolvedPath string
}

func ParseProfiles

func ParseProfiles(r io.Reader) ([]*Profile, error)

Jump to

Keyboard shortcuts

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