Idiomatic Go code.
Removed one unnecessary channel
Removed external dependency
Merge pull request #1 from egonelbre/master

Idiomatic Go code