There was an error while loading. Please reload this page.
1 parent e95110a commit ba26ed2Copy full SHA for ba26ed2
wait_group_context.go
@@ -20,10 +20,8 @@ type WaitGroupContext struct {
20
// NewWaitGroupContext returns a new WaitGroupContext with Context ctx.
21
func NewWaitGroupContext(ctx context.Context) *WaitGroupContext {
22
return &WaitGroupContext{
23
-ctx: ctx,
24
-done: make(chan struct{}),
25
-counter: 0,
26
-state: 0,
+ctx: ctx,
+done: make(chan struct{}),
27
}
28
29
0 commit comments