coverage

package
v0.0.134 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(args []string) error

Handle is production entry: HandleWith(args, HandleOpts{}).

func HandleWith

func HandleWith(args []string, opts HandleOpts) error

HandleWith is the injectable entry used by doctests. args are the argv after "kool go coverage".

Types

type HandleOpts

type HandleOpts struct {
	// Stdout/Stderr nil → os.Stdout / os.Stderr.
	Stdout io.Writer
	Stderr io.Writer
}

HandleOpts injects writers for tests and production defaults.

Jump to

Keyboard shortcuts

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