reporter

package
v0.0.0-...-61272f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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) AddError

func (reporter *Reporter) AddError(message string)

func (*Reporter) AddRow

func (reporter *Reporter) AddRow(location string, count string)

func (*Reporter) AddSuccess

func (reporter *Reporter) AddSuccess(message string)

func (*Reporter) AddTotal

func (reporter *Reporter) AddTotal(total int)

func (*Reporter) AddWarning

func (reporter *Reporter) AddWarning(message string)

func (*Reporter) AskForConfirmation

func (reporter *Reporter) AskForConfirmation(s string, def string) bool

func (*Reporter) GetWarnings

func (reporter *Reporter) GetWarnings() []string

Getters

func (*Reporter) PrepareCheckTable

func (reporter *Reporter) PrepareCheckTable()

func (*Reporter) PrepareReplaceTable

func (reporter *Reporter) PrepareReplaceTable()

func (*Reporter) PrintMsg

func (reporter *Reporter) PrintMsg(msg ...string)

func (*Reporter) PrintSuccess

func (reporter *Reporter) PrintSuccess(msg ...string)

func (*Reporter) Report

func (reporter *Reporter) Report()

func (*Reporter) WarnAsTable

func (reporter *Reporter) WarnAsTable()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL