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
Mar 15, 2015
-
1 min read
Object Oriented Programming Mechanics
Go is an object oriented programming language. It may not have inheritance, but in this 20 minute video from the Bangalore meetup, I will show you how object oriented …
Published
Feb 23, 2015
-
12 min read
Scheduler Tracing In Go
Introduction One of the things I love about Go is the profiling and debug information you can generate. There is a special environmental variable named GODEBUG that will …
Published
Jan 11, 2015
-
10 min read
Stack Traces In Go
Introduction
Having some basic skills in debugging Go programs can save any programmer a good amount of time trying to identify problems. I believe in logging as much …
Published
Dec 16, 2014
-
15 min read
Using Pointers In Go
Introduction
I am asked quite a bit about when and when not to use pointers in Go. The problem most people have, is that they try to make this decision based on what they …
Published
Nov 10, 2014
-
13 min read
Error Handling In Go, Part II
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 …
Published
Oct 13, 2014
-
12 min read
Error Handling In Go, Part I
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 …
Published
Sep 1, 2014
-
8 min read
Go Compiler nil Pointer Checks
Introduction
I was thinking about how the compiler looks to protect the code we write when it can. Invalid memory access checks are one type of safety check the compiler …
Published
Aug 30, 2014
-
1 min read
ALS Ice Bucket Challenge - Go Style
If you have not heard about the ALS Ice Bucket Challenge I would be surprised. It’s everywhere nowadays, being done by celebrities alike. After being challenged by …
Published
Jun 27, 2014
-
9 min read
Ice Cream Makers and Data Races Part II
Introduction
Dave Cheney published a post called Ice Cream Makers and Data Races. The post showed an example of an interesting data race that can occur when using an …

