Debian Codegraph @

go/analysis/passes/modernize/testdata/src/waitgroupgo/waitgroup_alias.go.golden

raw
1 package waitgroup
2
3 import (
4 "fmt"
5 sync1 "sync"
6 )
7
8 func _() {
9 var wg sync1.WaitGroup
10 wg.Go(func() { // want "Goroutine creation can be simplified using WaitGroup.Go"
11 fmt.Println()
12 })
13
14 wg.Go(func() { // want "Goroutine creation can be simplified using WaitGroup.Go"
15 fmt.Println()
16 })
17 }