Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct { }
Object is the reported object used by the tool. It prints the messages to the standard output or error streams.
func CreateReporter ¶ added in v1.2.37
func CreateReporter() *Object
CreateReporter returns a new reporter
func (*Object) Errorf ¶
Errorf prints an error message with the given format and arguments. It also return an error containing the same information, which will be usually discarded, except when the caller needs to report the error and also return it.
func (*Object) IsTerminal ¶ added in v1.1.1
Determine whether the reporter output is meant for the terminal or whether it's piped or redirected to a file.
Click to show internal directories.
Click to hide internal directories.