Skip to content

Latest commit

 

History

History
 
 

19-pipes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.