Skip to content

Commit 6a9fdef

Browse files
author
gbbr
committed
TODO
1 parent 1ac0d97 commit 6a9fdef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎chapter7/patterns/pool/main/main.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func main() {
5757

5858
// Perform queries using a connection from the pool.
5959
for q := 0; q < maxGoroutines; q++ {
60+
// TODO: Explain about closures and why we are using params
6061
go func(query int, pool pool.Interface) {
6162
performQueries(query, pool)
6263
wg.Done()

0 commit comments

Comments
 (0)