Documentation ¶
Index ¶
- type Message
- type Output
- func (o *Output) AddDeferredListMessageRead(description string, value []interface{})
- func (o *Output) AddDeferredMapMessageRead(description string, value map[string]interface{})
- func (o *Output) AddDeferredMessageRead(description string, value interface{})
- func (o Output) AddFormattedMessageCalculated(description string, value interface{})
- func (o *Output) AddFormattedMessageUserProvided(description string, value interface{})
- func (o Output) AddMessageCalculated(description string, value interface{})
- func (o *Output) AddMessageUserProvided(description string, value interface{})
- func (o *Output) AddTableHeader(headers ...interface{})
- func (o *Output) AddTableRows(rows ...interface{})
- func (o *Output) Close()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Store OutputType for reference when posting messages
func (*Output) AddDeferredListMessageRead ¶ added in v0.1.1
Adds a message that will not print until Close() is called, to print and align List of primitive Values (string, int, bool)
func (*Output) AddDeferredMapMessageRead ¶ added in v0.1.1
Adds a message that will not print until Close() is called, to print and align Map Value, string -> primitive (string, int, bool)
func (*Output) AddDeferredMessageRead ¶
Adds a message that will not print until Close() is called, to print and align Single primitive Value (string, int, bool)
func (Output) AddFormattedMessageCalculated ¶
Add FORMATTED display information to show progress to terminal users This will be printed immediately for DefaultOutput
func (*Output) AddFormattedMessageUserProvided ¶
Add FORMATTED display information to show progress to terminal users This will be printed immediately for DefaultOutput
func (Output) AddMessageCalculated ¶
Add display information to show progress to terminal users This will be printed immediately for DefaultOutput
func (*Output) AddMessageUserProvided ¶
Add display information to show progress to terminal users This will be printed immediately for DefaultOutput
func (*Output) AddTableHeader ¶
func (o *Output) AddTableHeader(headers ...interface{})
Add headers for table, used for a list of items
func (*Output) AddTableRows ¶
func (o *Output) AddTableRows(rows ...interface{})
Add rows for at table, will be matched to headers set in AddTableHeaders, used for a list of items