iostreams

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IOStreams

type IOStreams struct {
	Out io.Writer
}

IOStreams represents the structures needed for input/output in commands Currently only supports output.

func (*IOStreams) Fprint

func (iostreams *IOStreams) Fprint(v interface{}) (n int, err error)

PrintOutput knows how to print using an IOStreams struct

Jump to

Keyboard shortcuts

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