Update group.go

This commit is contained in:
Lonre Wang
2022-08-22 12:21:47 +08:00
committed by GitHub
parent 7a99f8514b
commit 35de043ccc
+1 -1
View File
@@ -29,7 +29,7 @@ func (g *TaskGroup) Wait() {
g.waitGroup.Wait() g.waitGroup.Wait()
} }
// TaskGroup represents a group of related tasks associated to a context // TaskGroupWithContext represents a group of related tasks associated to a context
type TaskGroupWithContext struct { type TaskGroupWithContext struct {
TaskGroup TaskGroup
ctx context.Context ctx context.Context