io

package
v0.0.0-...-1661e1d Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithOutput

func WithOutput(ctx context.Context, out Output) context.Context

Types

type Output

type Output interface {
	Print(i ...interface{})
	Println(i ...interface{})
	Printf(format string, i ...interface{})

	PrintErr(i ...interface{})
	PrintErrln(i ...interface{})
	PrintErrf(format string, i ...interface{})
}

func OutputFrom

func OutputFrom(ctx context.Context) Output

Jump to

Keyboard shortcuts

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