Ardan Labs
Featured Post

Range-Over Functions in Go

Updated February 17th, 2026 11 min read

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

Published

Mar 8, 2023

-

16 min read

Rust Programming Language: Simple Game

rust training

with Cheikh Seck Introduction This is the first in a series of posts that will explore the Rust programming language. I am going to take the same approach I did with Go …

go training golang

Introduction In episode 5, Miki wrote a function that counted the number of lines in a file with interfaces. The first thing his function did was to open a file with Go’s …

go training golang

Introduction In episode 4, Miki defined an enumerated type that satisfied Go’s fmt.Stringer interface. By implementing the fmt.Stringer interface, Miki can specify how …

Published

Feb 21, 2023

-

2 min read

Interfaces 101 : Go's Logging Interface Ep. 4

go training golang

Introduction In episode 3, Miki implemented a type that satisfied Go’s error interface. The odd thing about his type was it would be considered not-nil although no value …

Published

Feb 13, 2023

-

2 min read

Interfaces 101 : Error Handling With Go Ep. 3

go training golang

Introduction In episode 2, Miki examined the impact interfaces have on the performance of a Go program. To perform this experiment, Miki invoked a type’s method in two …

Published

Feb 8, 2023

-

2 min read

Interfaces 101 : Heap Escape Ep. 2

go training golang

Introduction In episode 1, Miki had two functions that performed the similar operation, but returned different types. To refactor this, Miki rewrote both functions as a …

go training golang

Introduction Go interfaces are beneficial to Go developers because they: Allow interfaces to separate mechanism from behavior. Increase flexibility of function …

Published

Jan 27, 2023

-

1 min read

Ultimate Go: Advanced Engineering Episode 20

go training golang blockchain

Introduction In episode 19, Bill designed and implemented the data structure for an account on his blockchain. This type will have a nonce field to ensure incoming …

Published

Jan 24, 2023

-

1 min read

Ultimate Go: Advanced Engineering Episode 18

go training golang blockchain

Introduction In episode 17, Bill began to design an in-memory accounting database that will store the account balances on his blockchain. To build this database, Bill …