io

package
v2.63.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 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 Handler

type Handler struct {
	ColorScheme *iostreams.ColorScheme
	IO          *iostreams.IOStreams
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(io *iostreams.IOStreams) *Handler

func NewTestHandler

func NewTestHandler() *Handler

func (*Handler) PrintTable added in v2.49.0

func (h *Handler) PrintTable(headers []string, rows [][]string) error

func (*Handler) Printf

func (h *Handler) Printf(f string, v ...interface{}) (int, error)

Printf writes the formatted arguments to the stderr writer.

func (*Handler) Println

func (h *Handler) Println(v ...interface{}) (int, error)

Println writes the arguments to the stderr writer with a newline at the end.

func (*Handler) VerbosePrint

func (h *Handler) VerbosePrint(msg string) (int, error)

func (*Handler) VerbosePrintf

func (h *Handler) VerbosePrintf(f string, v ...interface{}) (int, error)

Jump to

Keyboard shortcuts

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