Early return and goroutine leak
Prevent goroutine leaks caused by early returns with unbuffered channels. Learn buffering, draining, errgroup patterns, and goleak testing.
Prevent goroutine leaks caused by early returns with unbuffered channels. Learn buffering, draining, errgroup patterns, and goleak testing.
The tools of linear algebra are extremely useful when working in Euclidean space (e.g. \mathbb{R}^3). Wouldn’t it be great if we could apply these tools to additional mathematical constructs, such as functions and sequences? Hilbert space allows us to do exactly this - apply li...
We’ve all been there. You’re working on a project, making commits, and suddenly realize you’ve been committing .DS_Store files, node_modules, IDE configuration files, or other junk that shouldn’t be in your repository. Then comes the embarrassing cleanup:...
A new release of the Microsoft build of Go including security fixes is now available for download. The post Go 1.25.1-1 and 1.24.7-1 Microsoft builds now available appeared first on Microsoft for Go Developers.
Recently I ditched my AWS account and moved my personal small projects to a Hetzner VPS, what a nice feeling tinkering with your own server again! As a part of this process I also had to change how I deploy this blog, so I thought I would share my setup in case anyone else is int...
This version introduces the new version of the Docker integration, Docker image attestation, Makeself packaging support, Go 1.25, and much more!
#568 — September 3, 2025 Read the Web Version Go Weekly 😎 A-go-ha! Gopher Hawaiian Shirt Patterns — Humor me for this item in the last gasps of summer! In 2023, Russ Cox worked with Renee French (the creator of the Go gopher mas...
Unlike pytest or JUnit, Go’s standard testing framework doesn’t give you as many knobs for tuning the lifecycle of your tests. By lifecycle I mean the usual setup and teardown hooks or fixtures that are common in other languages. I think this is a good thing because y...
Unlike pytest or JUnit, Go’s standard testing framework doesn’t give you as many knobs for tuning the lifecycle of your tests. By lifecycle I mean the usual setup and teardown hooks or fixtures that are common in other languages. I think this is a good thing because y...