Black Friday Sale: 40% off all our Training Bundles + Free Certification Exam! View Bundles →
Ardan Labs

Featured Post

October 21, 2025

-

10 min read

Getting Friendly With CPU Caches

Understanding how your data structures interact with hardware is one of the most powerful ways to improve application performance. This blogpost explores how CPU caches influence speed and how …

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

Jul 6, 2013

-

7 min read

Singleton Design Pattern in Go

go Training golang

Multi-threaded applications are very complicated, especially when your code is not organized and consistent with how resources are accessed, managed and maintained. If …

Jul 5, 2013

-

8 min read

How Packages Work in Go

go Training golang

Since I started writing code in Go it has been a mystery to me how best to organize my code and use the package keyword. The package keyword is similar to using a …

go Training golang

I have been writing Windows services in C/C++ and then in C# since 1999. Now that I am writing server based software in Go for the Linux OS I am completely lost. What is …

Jun 17, 2013

-

3 min read

Reading XML Documents in Go

go Training golang

I was really surprised how easy it was to read an XML document using the encoding/xml package that comes with the standard library. The package works by defining structs …

go Training golang

I wanted to send an email from my TraceLog package when a critical exception occurred. Fortunately Go’s standard library has a package called smpt which can be …

Jun 11, 2013

-

5 min read

Go's time.Duration Type Unravelled

go Training golang

I have been struggling with using the Time package that comes in the Go standard library. My struggles have come from two pieces of functionality. First, trying to …

go Training golang

I am building my TraceLog package and it is really important that the package logs any internal exceptions and prevents panics from shutting down the application. The …

Jun 5, 2013

-

8 min read

Documenting Go Code With Godoc

go Training golang

As you know if you read my blog, I have been building a set of new utility packages so I can start developing an application server I need for a new project. I am brand …

go Training golang

Check out my new installtion document: https://www.ardanlabs.com/blog/2016/05/installing-go-and-your-workspace.html I removed the sections about gocode and GDB. These are …