How does sync.WaitGroup work under the hood | Dark Hacker News