Adding a three element buffer would be fine, the goroutines would exit and the channel would be collected when it falls out of scope.