Documentation ¶
Index ¶
- type Reporter
- func (reporter *Reporter) AddError(message string)
- func (reporter *Reporter) AddRow(location string, count string)
- func (reporter *Reporter) AddSuccess(message string)
- func (reporter *Reporter) AddTotal(total int)
- func (reporter *Reporter) AddWarning(message string)
- func (reporter *Reporter) AskForConfirmation(s string, def string) bool
- func (reporter *Reporter) GetWarnings() []string
- func (reporter *Reporter) PrepareCheckTable()
- func (reporter *Reporter) PrepareReplaceTable()
- func (reporter *Reporter) PrintMsg(msg ...string)
- func (reporter *Reporter) PrintSuccess(msg ...string)
- func (reporter *Reporter) Report()
- func (reporter *Reporter) WarnAsTable()
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
}
func (*Reporter) AddSuccess ¶
func (*Reporter) AddWarning ¶
func (*Reporter) AskForConfirmation ¶
func (*Reporter) PrepareCheckTable ¶
func (reporter *Reporter) PrepareCheckTable()
func (*Reporter) PrepareReplaceTable ¶
func (reporter *Reporter) PrepareReplaceTable()
func (*Reporter) PrintSuccess ¶
func (*Reporter) WarnAsTable ¶
func (reporter *Reporter) WarnAsTable()
Click to show internal directories.
Click to hide internal directories.