htforward solution to the problem of &ldquo;how do you create an infinite <code>io.Reader</code>?&rdquo;.
Since Go&rsquo;s interfaces are often small and simple, it only takes a few lines of code to satisfy them.
While I didn&rsquo;t care about <em>what</em> the data was in this case, it wouldn&rsquo;t take much work to extend this pattern to return something different (like a different value or a repeating sequence).
Pretty neat!</p><p>Thanks for reading.</p></div><footer></footer></article></section></div