Buffered vs Unbuffered Channels in Go

Use buffered channels for os.Signal to prevent missing signals and fix sigchanyzer vet errors.

Use buffered channels for os.Signal to prevent missing signals; unbuffered channels block if no receiver is ready. Create the channel with a buffer size of 1 when passing it to signal.Notify.

sig := make(chan os.Signal, 1)
signal.Notify(sig, os.Interrupt)

The sigchanyzer vet check detects this pattern and suggests adding the buffer.