use conc.NewWaitGroup() to create conc.WaitGroup instance

pull/201/head
Michael Li 2 years ago
parent 39b8276109
commit 49a03354ba
No known key found for this signature in database

@ -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)

Loading…
Cancel
Save