util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpProfile

func DumpProfile(destination string, profile []*cover.Profile) error

DumpProfile dumps the profile to the given file destination. If the destination is "-", it instead writes to stdout.

func LoadProfile

func LoadProfile(origin string) ([]*cover.Profile, error)

LoadProfile loads a profile from the given filename. If the filename is "-", it instead reads from stdin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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