Skip to content

Instantly share code, notes, and snippets.

View iNetJoJo's full-sized avatar

Marin Miletic iNetJoJo

  • Zagreb, Croatia
View GitHub Profile
@iNetJoJo
iNetJoJo / workload.go
Created October 31, 2022 12:46
cool util for starting alot of gorutines with error handling
package workload
import (
"context"
"golang.org/x/sync/errgroup"
"time"
)
type Worker func() error