diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-05-06 14:19:34 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-05-06 14:19:34 +0200 |
| commit | 2594f3f889f93196bc9707ca6962f4f773806f10 (patch) | |
| tree | a12564217e46557719bb796e8c82138d66ce48a9 /reference_test.go | |
| parent | 9a8b80fc13b923b46b44fbd969e01db6d9f4b7b9 (diff) | |
Odb: use a callback instead of a channel for ForEach
A channel provides no way to specify whether we stopped sending data
because of an error or because there is no more data.
Therefore, make Odb.ForEach() take a callback with which the user is free to
do whatever they need, letting us return en error.
Diffstat (limited to 'reference_test.go')
0 files changed, 0 insertions, 0 deletions
