summaryrefslogtreecommitdiff
path: root/commit.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-05-06 14:19:34 +0200
committerCarlos Martín Nieto <[email protected]>2014-05-06 14:19:34 +0200
commit2594f3f889f93196bc9707ca6962f4f773806f10 (patch)
treea12564217e46557719bb796e8c82138d66ce48a9 /commit.go
parent9a8b80fc13b923b46b44fbd969e01db6d9f4b7b9 (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 'commit.go')
0 files changed, 0 insertions, 0 deletions