hishboy/gocommons — pull request #9 by sescobb27 (2014-12-18 04:06:18+00:00)
Title: Improving Async Test with sync.WaitGroup

You don't need a time.Sleep to wait until all goroutines finish, don't even a channel, just need a sync.WaitGroup for waiting all of them to finish and then make the assertions.
PD: sorry for my bad English
PD2: my text editor run gofmt for me so it is now formatted