<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Allison Yuri</title>
    <description>The latest articles on DEV Community by Allison Yuri (@thezehel).</description>
    <link>https://dev.to/thezehel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1161665%2F7be7fbe7-69b8-47a7-b9ce-ca3c4fe08f58.jpeg</url>
      <title>DEV Community: Allison Yuri</title>
      <link>https://dev.to/thezehel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thezehel"/>
    <language>en</language>
    <item>
      <title>Hands-on Go — Advancing with Practical Examples</title>
      <dc:creator>Allison Yuri</dc:creator>
      <pubDate>Tue, 24 Jun 2025 20:13:45 +0000</pubDate>
      <link>https://dev.to/thezehel/-hands-on-go-avancando-com-exemplos-praticos-1h6p</link>
      <guid>https://dev.to/thezehel/-hands-on-go-avancando-com-exemplos-praticos-1h6p</guid>
      <description>&lt;p&gt;👋 Hello, everyone!&lt;/p&gt;

&lt;p&gt;After the first post covering the initial four examples in &lt;a href="https://github.com/TheZehel/gostart" rel="noopener noreferrer"&gt;gostart&lt;/a&gt;, I've added &lt;strong&gt;four&lt;/strong&gt; more use cases that mirror real-world challenges you'll face with Go. Let's dive into what's been added!&lt;/p&gt;




&lt;h2&gt;
  
  
  📂 Updated Structure
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gostart
┣ exemplos
┃ ┣ 01_hello
┃ ┣ 02_arguments
┃ ┣ 03_duplicates
┃ ┣ 04_animated_gif
┃ ┣ 05_http_requests
┃ ┣ 06_concurrency_channels
┃ ┣ 07_file_manipulation
┃ ┗ 08_api_integration
┗ README.MD
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each folder contains a &lt;code&gt;main.go&lt;/code&gt; and a &lt;code&gt;README.md&lt;/code&gt; that walks you through the steps.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✅ 05 - HTTP Requests
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What was added:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Consuming REST APIs with GET and POST&lt;/li&gt;
&lt;li&gt;JSON handling (&lt;code&gt;json.Marshal&lt;/code&gt; / &lt;code&gt;json.Unmarshal&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Using &lt;code&gt;http.NewRequest&lt;/code&gt; and customizing headers&lt;/li&gt;
&lt;li&gt;Configuring &lt;code&gt;http.Client&lt;/code&gt; with a timeout&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why it matters:&lt;/strong&gt;&lt;br&gt;
In real applications, you'll fetch and send data to external services—so mastering HTTP requests is essential.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✅ 06 - Concurrency &amp;amp; Channels
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What was added:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Spawning goroutines for parallel tasks&lt;/li&gt;
&lt;li&gt;Communicating via channels (buffered and unbuffered)&lt;/li&gt;
&lt;li&gt;Synchronizing with &lt;code&gt;sync.WaitGroup&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Multiplexing channels with &lt;code&gt;select&lt;/code&gt; and &lt;code&gt;default&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;A worker pool pattern&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why it matters:&lt;/strong&gt;&lt;br&gt;
Go is built for concurrency—these examples show you how to scale work safely and efficiently.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✅ 07 - File Manipulation
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What was added:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reading and writing text and binary files (&lt;code&gt;os&lt;/code&gt;, &lt;code&gt;bufio&lt;/code&gt;, &lt;code&gt;io&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Copying files with &lt;code&gt;io.Copy&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Processing CSV (&lt;code&gt;encoding/csv&lt;/code&gt;) and JSON (&lt;code&gt;encoding/json&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Walking directories and gathering metadata (&lt;code&gt;filepath.WalkDir&lt;/code&gt;, &lt;code&gt;os.DirEntry&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why it matters:&lt;/strong&gt;&lt;br&gt;
Backend logic often involves file I/O—whether logs, data imports, or configuration files.&lt;/p&gt;

&lt;h2&gt;
  
  
  ✅ 08 - API Integration
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What was added:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structuring a custom API client with an interface for easy testing&lt;/li&gt;
&lt;li&gt;Authentication via headers (API Key / Bearer Token)&lt;/li&gt;
&lt;li&gt;Timeout and cancellation control with &lt;code&gt;context&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Exponential backoff retry on 5xx errors&lt;/li&gt;
&lt;li&gt;Robust error handling with wrapped context&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why it matters:&lt;/strong&gt;&lt;br&gt;
In corporate projects, you'll integrate with paid or internal services—these patterns are production-grade.&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 How to Get Started
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Clone the repository or update your fork:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/TheZehel/gostart.git
&lt;span class="nb"&gt;cd &lt;/span&gt;gostart/exemplos
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Choose one of the new directories (&lt;code&gt;05_http_requests&lt;/code&gt;, &lt;code&gt;06_concurrency_channels&lt;/code&gt;, etc.)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Read the &lt;code&gt;README.md&lt;/code&gt; to understand the flow, then run:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;go run main.go
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  🤝 Contributions
&lt;/h2&gt;

&lt;p&gt;Want to help enrich gostart?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a folder &lt;code&gt;0X_example_name/&lt;/code&gt; following the same convention&lt;/li&gt;
&lt;li&gt;Include &lt;code&gt;main.go&lt;/code&gt; with well-commented code and &lt;code&gt;README.md&lt;/code&gt; with clear explanations&lt;/li&gt;
&lt;li&gt;Suggested topics: databases, gRPC, interactive CLIs, automated tests, microservices…&lt;/li&gt;
&lt;li&gt;Open a PR and let's grow this repository together! 💪&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;💬 Questions, suggestions, or feedback? Leave a comment below.&lt;/p&gt;

&lt;p&gt;Let's keep learning by doing! 🚀&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>go</category>
      <category>programming</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Hands-on Go — Learn by Doing with Realistic Examples</title>
      <dc:creator>Allison Yuri</dc:creator>
      <pubDate>Wed, 11 Jun 2025 14:50:27 +0000</pubDate>
      <link>https://dev.to/thezehel/aprendendo-go-na-pratica-com-exemplos-reais-e-estrutura-didatica-29i3</link>
      <guid>https://dev.to/thezehel/aprendendo-go-na-pratica-com-exemplos-reais-e-estrutura-didatica-29i3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;👋 &lt;strong&gt;Hi everyone!&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;I'm &lt;strong&gt;Allison Yuri&lt;/strong&gt;, 26 years old, currently working as a &lt;strong&gt;Tech Lead at Prime Secure&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
I'm passionate about &lt;strong&gt;technology, politics, blockchain, cybersecurity, and philosophy&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;🎯 &lt;strong&gt;Why am I here?&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;I started posting on DEV Community to &lt;strong&gt;share practical and accessible knowledge&lt;/strong&gt; for those who want to get into programming — especially with the &lt;strong&gt;Go&lt;/strong&gt; language.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;🚀 &lt;strong&gt;Project: gostart&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/TheZehel/gostart" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;&lt;code&gt;gostart&lt;/code&gt; is an &lt;strong&gt;open and collaborative&lt;/strong&gt; repository aimed at teaching &lt;strong&gt;Go&lt;/strong&gt; through &lt;strong&gt;straightforward, well-commented, and structured examples&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Each example lives in its own folder, with a &lt;code&gt;main.go&lt;/code&gt; file and an explanatory &lt;code&gt;README.md&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
The goal is to &lt;strong&gt;learn by doing, reading, and testing&lt;/strong&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;📂 &lt;strong&gt;Current Structure&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;&lt;code&gt;01_hello&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Your first contact with Go — the classic &lt;code&gt;Hello, World!&lt;/code&gt; — with explanations on &lt;code&gt;package main&lt;/code&gt;, &lt;code&gt;func main()&lt;/code&gt;, and &lt;code&gt;fmt.Println&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;&lt;code&gt;02_arguments&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
How to capture command-line arguments using &lt;code&gt;os.Args&lt;/code&gt; and &lt;code&gt;strings.Join&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;&lt;code&gt;03_duplicates&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Reading from the terminal using &lt;code&gt;bufio.Scanner&lt;/code&gt;, using maps to count values, and logic to display only duplicate lines.&lt;/p&gt;

&lt;p&gt;✅ &lt;strong&gt;&lt;code&gt;04_animated_gif&lt;/code&gt;&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Generating animated images with &lt;code&gt;image/gif&lt;/code&gt;, graphic loops, sine functions, and Lissajous curve GIFs.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;📌 &lt;strong&gt;What's coming next?&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;The repository will be continuously updated with new examples such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;HTTP requests (&lt;code&gt;net/http&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Concurrency with goroutines and channels&lt;/li&gt;
&lt;li&gt;File manipulation&lt;/li&gt;
&lt;li&gt;Real-world API integrations&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;🤝 &lt;strong&gt;Contributions are welcome!&lt;/strong&gt;  &lt;/p&gt;

&lt;p&gt;If you’d like to help teach Go, feel &lt;strong&gt;completely free to send pull requests&lt;/strong&gt; with new examples following the current structure:&lt;/p&gt;


&lt;pre class="highlight shell"&gt;&lt;code&gt;examples/
└── 0X_example_name/
    ├── main.go
    └── README.md
&lt;/code&gt;&lt;/pre&gt;

&lt;/blockquote&gt;




&lt;blockquote&gt;
&lt;p&gt;💬 &lt;strong&gt;Feel free to comment, suggest improvements, or ask anything.&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Let’s learn together! 🚀&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>go</category>
      <category>programming</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
