profile

package
v0.0.0-...-b89b896 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	START int = iota
	END   int = iota
	COUNT int = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Profile

type Profile struct {
	FileName string  `json:"filename"`
	Hits     int     `json:"hits"`
	Lines    int     `json:"lines"`
	Blocks   [][]int `json:"blocks"` // StartLine, EndLine, Count
}

func ParseCoverage

func ParseCoverage(reader io.Reader) ([]*Profile, error)

Jump to

Keyboard shortcuts

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