![post](/static/9cf3f40c705c3e1bd6abb0317df483f2/c077a/ogp.jpg)
Ready Steady GO: Dispatcher-Worker with errgroup
February 14, 2021 | 2 min readA golang implementation of dispatcher-worker pattern with errgroup. It immediately cancels the other jobs when an error occurs in any goroutine.
Under the sea, in the hippocampus's garden...
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.