<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Generators on cassiobotaro</title><link>https://cassiobotaro.dev/en/tags/generators/</link><description>Recent content in Generators on cassiobotaro</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 01 Oct 2026 11:30:30 -0300</lastBuildDate><atom:link href="https://cassiobotaro.dev/en/tags/generators/index.xml" rel="self" type="application/rss+xml"/><item><title>Go Concurrency - Generators</title><link>https://cassiobotaro.dev/en/posts/go-concurrency-generators/</link><pubDate>Thu, 01 Oct 2026 00:00:00 +0000</pubDate><guid>https://cassiobotaro.dev/en/posts/go-concurrency-generators/</guid><description>&lt;video
 src="https://cassiobotaro.dev/videos/geradores.mp4"
 title="A goroutine producing values on a channel" aria-label="A goroutine producing values on a channel"
 autoplay
 loop
 muted
 playsinline
 controls
 preload="metadata"
 style="width: 100%; height: auto;"&gt;
&lt;/video&gt;

&lt;p&gt;In the &lt;a href="https://cassiobotaro.dev/en/posts/go-concurrency-hello-world/" &gt;hello world&lt;/a&gt; the channel carried a single message, from the goroutine to &lt;code&gt;main&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;But it&amp;rsquo;s almost never a single message. It&amp;rsquo;s the lines of a file, the pages of an API, the events of a queue. And this is where the first pattern of the series comes in.&lt;/p&gt;</description></item></channel></rss>