Back to course

The Morning HTTP Challenge: Level 2

Go (Golang) for Cloud-Native Microservices

Raising the Bar

Now that you know concurrency, update your morning routine.

The Challenge:

  1. Server with a POST endpoint.
  2. When data is received, spawn a Goroutine to "process" it.
  3. Use a Channel to send the result back to a logging worker.
  4. Use a WaitGroup to ensure the server shuts down only after the worker finishes.