output

package
v0.8.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleOutputter

type ConsoleOutputter struct {
	// contains filtered or unexported fields
}

func NewConsoleOutputter

func NewConsoleOutputter() ConsoleOutputter

func (ConsoleOutputter) Error

func (c ConsoleOutputter) Error(err error) error

func (ConsoleOutputter) Output

func (c ConsoleOutputter) Output(message string) error

func (ConsoleOutputter) Table

func (c ConsoleOutputter) Table(headers []string, rows [][]string) error

type Outputter

type Outputter interface {
	Output(message string) error
	Error(err error) error
	Table(header []string, rows [][]string) error
}

Jump to

Keyboard shortcuts

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