2 ms·
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 wh
by mariusor 1y ago
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-RegisterSignalHandlers https://pkg.go.dev/git.sr.ht/~mariusor/wrapper#example-Regis...