<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Programming on Parikshit Agnihotry</title>
    <link>https://p.agnihotry.com/tags/programming/</link>
    <description>Recent content in Programming on Parikshit Agnihotry</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 31 May 2018 06:00:00 -0800</lastBuildDate>
    <atom:link href="https://p.agnihotry.com/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Understanding the context package in golang</title>
      <link>https://p.agnihotry.com/post/understanding_the_context_package_in_golang/</link>
      <pubDate>Thu, 31 May 2018 06:00:00 -0800</pubDate>
      <guid>https://p.agnihotry.com/post/understanding_the_context_package_in_golang/</guid>
      <description>&lt;link rel=&#34;stylesheet&#34; href=&#34;https://p.agnihotry.com/css/hugo-easy-gallery.css&#34; /&gt;&#xA;&lt;div class=&#34;box&#34; &gt;&#xA;  &lt;figure  itemprop=&#34;associatedMedia&#34; itemscope itemtype=&#34;http://schema.org/ImageObject&#34;&gt;&#xA;    &lt;div class=&#34;img&#34;&gt;&#xA;      &lt;img itemprop=&#34;thumbnail&#34; src=&#34;https://res.cloudinary.com/pagnihotry/image/upload/v1532622064/pagnihotry/Go-Logo_Blue-trimmed.jpg&#34; alt=&#34;https://res.cloudinary.com/pagnihotry/image/upload/v1532622064/pagnihotry/Go-Logo_Blue-trimmed.jpg&#34;/&gt;&#xA;    &lt;/div&gt;&#xA;    &lt;a href=&#34;https://res.cloudinary.com/pagnihotry/image/upload/v1532622064/pagnihotry/Go-Logo_Blue-trimmed.jpg&#34; itemprop=&#34;contentUrl&#34;&gt;&lt;/a&gt;&#xA;  &lt;/figure&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;The context package in go can come in handy while interacting with APIs and slow processes, especially in production-grade systems that serve web requests. Where, you might want to notify all the goroutines to stop work and return. Here is a basic tutorial on how you can use it in your projects with some best practices and gotchas.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
