wrappedstreams

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

STOLEN SHAMELESSLY FROM THE TERRAFORM REPO BECAUSE VENDORING OUT WRAPPEDREADLINE AND WRAPPEDSTREAMS FELT LIKE TOO MUCH WORK.

"a little copying is better than a lot of dependency"

Package wrappedstreams provides access to the standard OS streams (stdin, stdout, stderr) even if wrapped under panicwrap.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Stderr

func Stderr() *os.File

Stderr returns the true stderr of the process.

func Stdin

func Stdin() *os.File

Stdin returns the true stdin of the process.

func Stdout

func Stdout() *os.File

Stdout returns the true stdout of the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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