
Ready Steady GO: Dispatcher-Worker with errgroup
A golang implementation of dispatcher-worker pattern with errgroup. It immediately cancels the other jobs when an error occurs in any goroutine.
2 posts

A golang implementation of dispatcher-worker pattern with errgroup. It immediately cancels the other jobs when an error occurs in any goroutine.

This is a golang sample code that calls some function periodically for a specified amount of time.