Skip to content

Files

Latest commit

6b12fb3 · Oct 22, 2017

History

History
This branch is up to date with campoy/justforfunc:master.

19-pipes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 11, 2017
Sep 11, 2017
Oct 22, 2017

justforfunc 19: mastering io.Pipes

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:

For a more complete version of this code, check github.com/campoy/tools.