ui

package
v0.0.0-...-d48182c Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UI

type UI struct {
	STDERR io.Writer
	STDIN  io.Reader
	STDOUT io.Writer
	// contains filtered or unexported fields
}

func NewTestUI

func NewTestUI(in io.Reader, out io.Writer, err io.Writer) *UI

func NewUI

func NewUI() *UI

func (*UI) PrintError

func (main *UI) PrintError(err error)

func (*UI) PrintTable

func (main *UI) PrintTable(in interface{})

func (*UI) PrintWarning

func (main *UI) PrintWarning(format string, args ...interface{})

Jump to

Keyboard shortcuts

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