Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Goroutinewg *sync.WaitGroup
This is a debugging aid - I use it to ensure goroutines stop as expected. If they don't the main program will hang at termination.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader maintains the first two and last two lines read from a source io.Reader. At any point, the Summary() function can be called to extract a summary of what's been read so far. I'm using this to create a summary of the stderr of a termshark command.
Click to show internal directories.
Click to hide internal directories.