Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter writes status output. On a terminal, Update overwrites a single status line in place; on a non-terminal, each Update is printed on its own line so logs remain readable. A nil *Reporter is a no-op so callers can pass it around without checking for quiet mode.
func (*Reporter) Clear ¶
func (r *Reporter) Clear()
Clear erases the current Update line on a TTY. It is a no-op otherwise.
Click to show internal directories.
Click to hide internal directories.