Wahid Rizka Fathurrohman 8ad9f9cbea
docs: fix the graceful shutdown example (#4809)
The example calls errors.Is but never imports errors, so copying it as
written fails to build with "undefined: errors".

It also passes an unbuffered channel to signal.Notify, which go vet
reports as a misuse: signal delivery is non-blocking, so a signal that
arrives before the receive is dropped.
2026-09-19 14:21:21 +08:00
..