go

Synchronizing Go Routines with Channels and WaitGroups

In debugging a mysteriously hanging Go function recently, I learned something new about how to use WaitGroups and Channels to synchronize Go routines. Keep reading to learn more!…

Building Concurrent Workflows in Go with Goroutines and Channels

Using goroutines and channels, we can ensure that our program works on on more than one task in a given time period. In this post, we'll use goroutines, channels and WaitGroups to process a "bulk user registration" request.…

Debugging a Go Web App with VSCode and Delve

I found that using Delve to debug a Golang web app was fairly non-intuitive. Keep reading to find out how its done!…

Mocking HTTP Requests in Golang

Let's take a look at how we can use interfaces to build a shared mock HTTP client that we can use across the test suite of our Golang app.…