SAP / go-ase

SAP ASE Database Client for Go
Apache License 2.0
25 stars 14 forks source link

Return values from both data and error channels at once #1

Closed ntnn closed 5 years ago

ntnn commented 5 years ago

The error channel is always being written to and closed last, reading all values like this and returning them at once removes the need for if clauses.