Introduction
In part I of this post, we learned about the error interface and how the standard library provides support for creating error interface values via the errors package. We also learned how to work with error interface values and use them to identify when an error has o...
Welcome Gopher Academy is focused on bringing Gophers together. Our yearly conference GopherCon is a great example of our commitment to building a strong and inclusive community around the Go programming language.
Exponential backoff is an algorithm that uses feedback to multiplicatively decrease the rate of some process, in order to gradually find an acceptable rate.
—- Wikipedia
When you're building a web application there's probably some shared functionality that you want to run for many (or even all) HTTP requests. You might want to log every request, gzip every response, or check a cache before doing some expensive processing.
One way of organising...
If there was a single powerful language feature in Go, it’d be the interfaces. The internals of Go contain strong combinations of useful ideas from various type systems and inevitably they ring the curiosity bells. I recently surveyed Github for Go interface declarations, and t...
Introduction
It is idiomatic in Go to use the error interface type as the return type for any error that is going to be returned from a function or method. This interface is used by all the functions and methods in the standard library that return errors. For example, here is the...
Updated with second round script in Oct 26, 2014.
Hugo, the fast and flexible static site generator, is really coming of
age. I wanted to give a quick update about the progress Hugo has been
making over the past couple months.
New Website
Hugo can now be found at http://gohugo.io. Update your bookmarks.
New Team Members
I want t...
Do you know what a class factory is and why is it useful? Ever considered implementing a class factory in Golang (Google Go) even though Go is not considered fully object oriented in nature? Are you curious about some awesome features in Go other than it’s impressive concu...
I recently had a discussion with a CFO of a technology company. We were
meeting because he is trying to better understand the role technical
evangelism could play within his company. Ten minutes into our
conversation he said, “so evangelism is pretty much rogue sales”...