From d66476fac43c83925a6d8a2fe40bf334dcb4331d Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 31 Mar 2021 02:36:01 +0200 Subject: update docs --- skate/zipkey/zipkey.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'skate/zipkey') 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 -- cgit v1.2.3