With io.Pipe we have a convenient way to connect a writer to a reader, really similar to how channels work
pr, pw := io.Pipe()
justforfunc #19: mastering io.Pipes