Default severity: warning
The os/signal package uses non-blocking sends to deliver notifications. If
no receiver is immediately ready, an unbuffered channel drops the signal.
Give the channel enough capacity for the signals being handled.
Bad
ch := make(chan os.Signal)
signal.Notify(ch, os.Interrupt)Good
ch := make(chan os.Signal, 1)
signal.Notify(ch, os.Interrupt)