<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Gopher Dojo</title>
    <link>https://gopherdojo.com/</link>
    <description>Recent content on Gopher Dojo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 23 Apr 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://gopherdojo.com/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to Find Go Projects for a First Open Source Contribution?</title>
      <link>https://gopherdojo.com/find-go-contribution/</link>
      <pubDate>Tue, 23 Apr 2024 00:00:00 +0000</pubDate>
      <guid>https://gopherdojo.com/find-go-contribution/</guid>
      <description>The road towards being a first-time open source contributor is lined with several difficult segments.&#xA;One of the firsts ones you&amp;rsquo;ll encounter is:&#xA;How do I even find a Go project to contribute to?&#xA;This writeup will help you find the right issue for you, in a Go project you can get excited about!&#xA;An Endless Stream of Issues The GitHub advanced search is a great source of various first-time suitable issues!</description>
    </item>
    <item>
      <title>The Difference Between Handler and HandlerFunc</title>
      <link>https://gopherdojo.com/handler-vs-handlerfunc/</link>
      <pubDate>Fri, 22 Mar 2024 00:00:00 +0000</pubDate>
      <guid>https://gopherdojo.com/handler-vs-handlerfunc/</guid>
      <description>Confused by seeing references to Handler and HandlerFunc in Go code?&#xA;Here is all you need to know to understand how they relate to each other and which one to use.&#xA;Handler Handler is an interface. You can see the complete definition in the documentation:&#xA;type Handler interface { ServeHTTP(ResponseWriter, *Request) } Whatever provides a ServeHTTP function satisfies the Handler interface!&#xA;To satisfy this interface, you could write your own struct which has the function signature required.</description>
    </item>
    <item>
      <title>How to Structure a Go Project?</title>
      <link>https://gopherdojo.com/go-folder-structure/</link>
      <pubDate>Tue, 29 Jan 2019 00:00:00 +0000</pubDate>
      <guid>https://gopherdojo.com/go-folder-structure/</guid>
      <description>Before getting back into developing professionally in Golang last year, I had so many questions:&#xA;What tools are useful? What nuances am I missing? What patterns are popular? How to design testable applications? What libraries are helpful when creating RESTful APIs? How to make friends with interfaces and the Go-way of doing things? Good ol&amp;rsquo; A Tour of Go helped with the first one. The other ones took a bit of searching, watching talks, looking at projects and asking questions.</description>
    </item>
    <item>
      <title>Go JSON (Un)Marshalling, Missing Fields and Omitempty</title>
      <link>https://gopherdojo.com/go-json-omitempty/</link>
      <pubDate>Wed, 21 Nov 2018 00:00:00 +0000</pubDate>
      <guid>https://gopherdojo.com/go-json-omitempty/</guid>
      <description>When working with JSON in Go recently, I wondered: &amp;ldquo;What the heck does json:omitempty do?&amp;rdquo;. I was looking for ways to handle missing fields while unmarshalling some JSON into a struct, and got confused for a while.&#xA;Here are a few examples, as a reminder how most of it works.&#xA;Those are not fancy edgecases. Those are self-contained, completely functional code snippets which should be easy to follow. You&amp;rsquo;re welcome future-me.</description>
    </item>
    <item>
      <title>Switching to Go Modules - Bye GOPATH and Godep</title>
      <link>https://gopherdojo.com/switch-to-go-modules/</link>
      <pubDate>Wed, 14 Nov 2018 00:00:00 +0000</pubDate>
      <guid>https://gopherdojo.com/switch-to-go-modules/</guid>
      <description>Go modules! Finally you don&amp;rsquo;t have to place your code into the directory structure imposed by GOPATH! Also, you don&amp;rsquo;t need to set up external tooling, such as Godep, to manage your project&amp;rsquo;s dependencies.&#xA;All you need is to use Go in the version 1.11+ and you&amp;rsquo;re set.&#xA;Well, not quite.&#xA;Before you can start enjoying modules, you need to make the switch to them, or init your fresh new project to use them.</description>
    </item>
  </channel>
</rss>