How do you handle background work during graceful shutdown in a small Go service?
I’m building a small Go HTTP service with PostgreSQL. Most requests are synchronous, but I’m starting to add work that doesn’t need to finish before returning a response: sending notifications, processing uploads, and similar tasks. My current thought is to run those jobs in a small in-process worke