aboutsummaryrefslogtreecommitdiffstats
path: root/skate
diff options
context:
space:
mode:
Diffstat (limited to 'skate')
-rw-r--r--skate/zipkey/zipkey.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/skate/zipkey/zipkey.go b/skate/zipkey/zipkey.go
index a03bb28..a9f5c04 100644
--- a/skate/zipkey/zipkey.go
+++ b/skate/zipkey/zipkey.go
@@ -20,8 +20,9 @@ type (
// ZipRun reads records (separated by sep) from two readers, extracts a key
// from each record with a keyFunc and collects records from the two streams
-// into a Group. A callback can be registered, which allows to customize the
-// processing of the group.
+// into a Group. A callback groupFunc can be registered, which allows to
+// customize the processing of the group. Current limitation: both streams need
+// to use the same keyFunc.
type ZipRun struct {
r0, r1 *bufio.Reader
kf keyFunc