package
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Mar 10, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package stream provides real-time streaming display for go test -json output.
Run reads go test -json events from r and renders them to out.
Returns exit code: 0=all pass, 1=failures, 2=error.
LineKind identifies the type of output line for styling.
const (
KindPass LineKind = iota
KindFail
KindSkip
KindPkgPass
KindPkgFail
KindOutput
KindSeparator
)
StyleFunc formats a line with colors/symbols.
If nil, no styling is applied.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.