News for hackers. Stuff that matters.
Re:Graceful Shutdown in Go: Practical Patterns by mariusor on Monday May 05, 2025 @04:04AM (#43892837)
Haha, I had the exact same idea, though my API looks a bit less elegant. Maybe it's because it allows the caller to set-up multiple signals to handle and in which way to do it.

https://pkg.go.dev/git.sr.ht/~mariusor/wrapper#example-Regis...

There are no comments on this comment yet.