packagemain.tech

packagemain.tech

How to catch goroutine leaks with Go 1.27

A new profile type that reports leaked goroutines, previously available as an experiment in Go 1.26, is now generally available.

Alex Pliutau's avatar
Alex Pliutau
Aug 21, 2026
∙ Paid

Go 1.26 had the experimental goroutineleakprofile GOEXPERIMENT setting. Now with 1.27, which was released just a few days ago, this is a default functionality available to all developers.

In this short post let’s explore how to use this profile.

User's avatar

Continue reading this post for free, courtesy of Alex Pliutau.

Or purchase a paid subscription.
© 2026 Aliaksandr Pliutau · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture