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
Sep 26, 2013
-
11 min read
Recursion And Tail Calls In Go
This article was written for and published by Gopher Academy
I was looking at a code sample that showed a recursive function in Go and the writer was very quick to state …
Published
Sep 23, 2013
-
9 min read
Iterating Over Slices In Go
Slices are used everywhere in my code. If I am working with data from MongoDB, it is stored in a slice. If I need to keep track of a collection of problems after running …
Published
Sep 14, 2013
-
14 min read
Pool Go Routines To Process Task Oriented Work
After working in Go for some time now, I learned how to use an unbuffered channel to build a pool of goroutines. I like this implementation better than what is …
Published
Sep 10, 2013
-
6 min read
Slices of Slices of Slices in Go
I am working on building code to load polygons for the different Marine Forecast areas in the United States. These polygons need to be stored in MongoDB and there is a …
Published
Sep 7, 2013
-
23 min read
Running Go Programs In IronWorker
Introduction
Iron.io has a product called IronWorker which provides a task oriented Linux container that you can run your programs inside. If you are not sure what I …
Published
Sep 4, 2013
-
9 min read
Timer Routines And Graceful Shutdowns In Go
In my Outcast data server I have several data retrieval jobs that run using different go routines. Each routine wakes up on a set interval. The most complex job is the …
Published
Aug 31, 2013
-
7 min read
Using CGO with Pkg-Config And Custom Dynamic Library Locations
Earlier in the month I wrote a post about using C Dynamic Libraries in Go Programs. The article built a dynamic library in C and created a Go program that used it. The …
Published
Aug 28, 2013
-
12 min read
Organizing Code to Support Go Get
For those of you who are like me, trying to learn the Mac and Linux operating systems, Golang programming and deployment constructs all at the same time, I feel your …
Published
Aug 26, 2013
-
7 min read
Collections Of Unknown Length in Go
If you are coming to Go after using a programming language like C# or Java, the first thing you will discover is that there are no traditional collection types like List …

