Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorFinder ¶
type ErrorFinder struct {
// contains filtered or unexported fields
}
ErrorFinder parses the data coming via the `Write` method and keeps the latest "red" block (that matches \x1b[31;1m control sequence) and hands over tha data to the wrapped `io.Writer` instance.
func (*ErrorFinder) Close ¶
func (e *ErrorFinder) Close() error
func (*ErrorFinder) ErrorMessages ¶
func (e *ErrorFinder) ErrorMessages() []string
ErrorMessages returns the collected error messages. Close needs to be called before using this function to drain the internal error buffer and get all the error messages.
Click to show internal directories.
Click to hide internal directories.