func NewGroup(ctx context.Context) *errGroup {
	newCtx, cancel := context.WithCancel(ctx)
	return &errGroup{
		ctx:    newCtx,
		cancel: cancel,
	}
}
// NewGroup starts a recoverable goroutine errGroup with a context.
NewGroup starts a recoverable goroutine errGroup with a context.
// NewGroup starts a recoverable goroutine errGroup with a context .
func NewGroup(ctx context.Context) *errGroup {
	newCtx, cancel := context.WithCancel(ctx)
	return &errGroup{
		ctx:    newCtx,
		cancel: cancel,
	}
}
func NewGroup ( ctx context . Context ) * errGroup { newCtx , cancel := context . WithCancel ( ctx ) return & errGroup { ctx : newCtx , cancel : cancel , } }
NewGroup starts a recoverable goroutine errGroup with a context.
NewGroup starts a recoverable goroutine errGroup with a context .