Hippocampus's Garden

Under the sea, in the hippocampus's garden...

Home | Hippocampus's Garden
[object Object]
2 posts tagged with "golang"

Ready Steady GO: Dispatcher-Worker with errgroup

February 14, 2021  |  2 min read

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


Ready Steady GO: Call Function Periodically With Timeout

August 16, 2020  |  1 min read

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

Shion Honda

Hippocampus's Garden © 2024, Shion Honda. Built with Gatsby