Raising the Bar
Now that you know concurrency, update your morning routine.
The Challenge:
- Server with a POST endpoint.
- When data is received, spawn a Goroutine to "process" it.
- Use a Channel to send the result back to a logging worker.
- Use a WaitGroup to ensure the server shuts down only after the worker finishes.