This repository has a few examples within that are designed to show off not
only the simplicity, flexibility, and power of io.Reader
and io.Writer
,
but also the way that Go enables us to build powerful programs from simple
components via composition.
Unusually for a Go repository, it's not meant to be installed with go get
;
each file in this repos is a stand-alone program using only the standard
library, designed to be run in isolation with go run
and inspected and/or
modified as a learning exercise. Writing it was, itself, a learning exercise.
The files should be read first, understood, and then run.
Oh, I've been working with go since years, but never saw that clever trick with
io.MultiWriter
for multiplexing before. Neat! Thanks:)