01-io.copy_WrapperAroundStdinStdout

command
v0.0.0-...-9882766 Latest Latest
Warning

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

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

Documentation

Overview

Example for using io.Copy to copy directly from STDIN which is an io.Reader to STDOUT which is an io.Writer. This could be achieved without building the structs and methods used here, but the idea were to wrap the Reader and the Writer into new methods.

Jump to

Keyboard shortcuts

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