Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorMessage ¶
func (ErrorMessage) Log ¶
func (m ErrorMessage) Log(logger *slog.Logger)
func (ErrorMessage) Print ¶
func (m ErrorMessage) Print(printer *Printer)
type InfoMessage ¶
type InfoMessage struct {
Message string
}
func (InfoMessage) Log ¶
func (m InfoMessage) Log(logger *slog.Logger)
func (InfoMessage) Print ¶
func (m InfoMessage) Print(printer *Printer)
type InteractiveMessage ¶
type InteractiveMessage struct {
Message string
}
func (InteractiveMessage) Log ¶
func (m InteractiveMessage) Log(*slog.Logger)
func (InteractiveMessage) Print ¶
func (m InteractiveMessage) Print(printer *Printer)
type Output ¶
func NewDiscardOutput ¶
func NewDiscardOutput() *Output
func (*Output) Display ¶
func (o *Output) Display(outputable Outputable)
type Outputable ¶
Outputable may be a type of message (like ErrorMessage, InfoMessage, etc) or github.com/form3tech-oss/f1/v2/internal/run/views.ViewContext
type Printer ¶
func NewDefaultPrinter ¶
func NewDefaultPrinter() *Printer
func NewDiscardPrinter ¶
func NewDiscardPrinter() *Printer
type WarningMessage ¶
type WarningMessage struct {
Message string
}
func (WarningMessage) Log ¶
func (m WarningMessage) Log(logger *slog.Logger)
func (WarningMessage) Print ¶
func (m WarningMessage) Print(printer *Printer)
Click to show internal directories.
Click to hide internal directories.