Go Concurrency: worker pool
github link Here is my implementation of worker pool, using unbuffered channels:
github link Here is my implementation of worker pool, using unbuffered channels:
https://easyaffirm.com is an affirmations web app I’ve created. It was made with Golang, Echo, Templ, MySQL, jQuery and more. Now you can use it as… Read More »I am releasing the source code for easyaffirm.com under a CC0 license.
Take a look at this code, what do you think it will print? It will not print anything. And it will exit without any deadlock… Read More »Go concurrency subtleties: sync.WaitGroup usage
If you watched The Big Bang Theory you know all about Sheldon’s Fun With Flags. borrowed from here In this type of posts we’ll be… Read More »FUN with go stdlib – Sorting a slice of structs by multiple field values and really grokking it.
Error handling in Golang can be tricky to understand. I know I struggled with it and the articles I stumbled upon offered some information but… Read More »Golang error handling demystified. errors.Is(), errors.As(), errors.Unwrap(), custom errors and more
Over the past months I’ve developed an affirmations web app using this cool stack: Golang + Echo + Templ.If you’re here you already know about… Read More »Fullstack Web App, part 1: Golang + Echo + Templ backend skeleton project