From 49a03354bab8637ff2c855410a4aae0a6abe3868 Mon Sep 17 00:00:00 2001 From: Michael Li Date: Tue, 21 Feb 2023 18:19:13 +0800 Subject: [PATCH] use conc.NewWaitGroup() to create conc.WaitGroup instance --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 3b16fa38..b26d4333 100644 --- a/main.go +++ b/main.go @@ -64,7 +64,7 @@ func main() { debug.StartPyroscope() // start services - wg := &conc.WaitGroup{} + wg := conc.NewWaitGroup() fmt.Fprintf(color.Output, "\nstarting run service...\n\n") service.Start(wg)