gocovutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: BSD-3-Clause, MIT Imports: 5 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Packages

type Packages []*gocov.Package

Packages represents a set of gocov.Package structures. The "AddPackage" method may be used to merge package coverage results into the set.

func ReadPackages

func ReadPackages(filenames []string) (ps Packages, err error)

ReadPackages takes a list of filenames and parses their contents as a Packages object.

The special filename "-" may be used to indicate standard input. Duplicate filenames are ignored.

func (*Packages) AddPackage

func (ps *Packages) AddPackage(p *gocov.Package)

AddPackage adds a package's coverage information to the

Jump to

Keyboard shortcuts

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