Return Go errors instead of ints
version 2.0
Merge pull request #5 from porjo/porjo

Return Go errors instead of ints