Loading...

justforfunc #19: mastering io.Pipes

20,237 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Sep 10, 2017

We've all used a bit of the io package ... right?
Implementations of io.Writer and io.Reader can be literally found everywhere ... but do you really know the io package well?

In this episode I write a program to do cat images into iTerm2, and to do that I use the best pieces of the io package.

I use four types in the io package:
- https://golang.org/pkg/io/#PipeReader
- https://golang.org/pkg/io/#PipeWriter
- https://golang.org/pkg/io/#MultiReader
- https://golang.org/pkg/io/#MultiWriter

Loading...

to add this to Watch Later

Add to

Loading playlists...