<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on BurrowedInCode</title><link>https://burrowedincode.dev/posts/</link><description>Recent content in Posts on BurrowedInCode</description><generator>Hugo</generator><language>en-us</language><copyright>BurrowedInCode</copyright><lastBuildDate>Tue, 27 Oct 2026 02:44:26 -0400</lastBuildDate><atom:link href="https://burrowedincode.dev/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>Go HTTP Client</title><link>https://burrowedincode.dev/posts/go-http-client/</link><pubDate>Tue, 27 Oct 2026 02:44:26 -0400</pubDate><guid>https://burrowedincode.dev/posts/go-http-client/</guid><description>&lt;h1 id="go-http-client-configure-once-reuse-often"&gt;Go HTTP Client: Configure Once, Reuse Often&lt;/h1&gt;&#10;&lt;p&gt;Recently, I&amp;rsquo;ve been working on developing a CLI download manager in Go. Apart from the UI, it relies entirely on Go&amp;rsquo;s standard library. I&amp;rsquo;ll discuss the project in a future post, but for now, let&amp;rsquo;s focus on its HTTP client.&lt;/p&gt;&#10;&lt;p&gt;Go provides an excellent standard library; it includes everything we need to make HTTP requests. No third-party packages required. In this post, we&amp;rsquo;ll configure Go&amp;rsquo;s &lt;code&gt;http.Client&lt;/code&gt; once and reuse it across requests, using &lt;code&gt;http.NewRequestWithContext&lt;/code&gt; and &lt;code&gt;Client.Do&lt;/code&gt;.&lt;/p&gt;</description></item></channel></rss>