aboutsummaryrefslogtreecommitdiffstats
path: root/skate/zipkey/zipkey.go
diff options
context:
space:
mode:
Diffstat (limited to 'skate/zipkey/zipkey.go')
-rw-r--r--skate/zipkey/zipkey.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/skate/zipkey/zipkey.go b/skate/zipkey/zipkey.go
index a9f5c04..eb3dc55 100644
--- a/skate/zipkey/zipkey.go
+++ b/skate/zipkey/zipkey.go
@@ -1,3 +1,5 @@
+// Package zipkey implements ZipRun, a type that allows to attach a callback to
+// a group of elements taken from two streams.
package zipkey
import (
@@ -14,7 +16,7 @@ type Group struct {
}
type (
- keyFunc func(string) (string, error)
+ keyFunc func(string) (string, error) // Given a line, extract the key.
groupFunc func(*Group) error
)