Iteration has long been one of the more fragmented areas of Go, with developers relying on ad hoc patterns to traverse custom data structures. This article explores the range-over-functions …
Subscribe to our Newsletter
By signing up you get access to our FREE Training Bundle, Technical Tuesday releases, Special Offers, & Notifications on our latest content.
All Blog Posts
Type at least 3 characters.
Search failed. Try again or message us directly at hello@ardanlabs.com.
Published
Nov 21, 2013
-
4 min read
Label Breaks In Go
Have you ever found yourself in this situation. You have a case statement inside of a for loop and you would like to break from both the case and for statements in a …
Published
Nov 5, 2013
-
5 min read
Using The Log Package In Go
Linux is unique to Windows in many ways, and writing programs in Linux is no exception. The use of standard out, standard err and null devices is not only a good idea but …
Published
Nov 3, 2013
-
8 min read
Using XSLT With Go
I am working on a project that requires pulling and processing different XML feeds from the web and storing the data into MongoDB as JSON. Since new feeds come up …
Published
Oct 26, 2013
-
6 min read
Manage Dependencies With GODEP
Introduction If you are using 3rd party packages, (packages that you don't own or control), you will want a way to create a reproducible build every time you build your …
Published
Oct 17, 2013
-
7 min read
My Channel Select Bug
I was testing new functionality on a program that is already running in production when suddenly the code behaved very badly. What I saw shocked me and then it became …
Published
Oct 10, 2013
-
5 min read
Functions and Naked Returns In Go
In Go values that are returned from functions are passed by value. Go gives you some nice flexibility when it comes to returning values from a function.
Here is a simple …
Published
Oct 2, 2013
-
7 min read
Cross Compile Your Go Programs
Introduction
In my post about building and running programs in Iron.Io, I needed to switched over to my Ubuntu VM to build linux versions of my test programs locally. I …
Published
Oct 1, 2013
-
2 min read
Go Package Management Call To Action
Nathan Youngman, with the help of others, has produced this document outlining months of research and discovery. I would appreciate everyone to honestly read it before …
Published
Sep 26, 2013
-
10 min read
Detecting Race Conditions With Go
I always find it interesting when I realize that something I have been practicing or dealing with for a long time has a name. This time it happens to be race conditions. …

