aboutsummaryrefslogtreecommitdiffstats
path: root/skate/zipkey
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-05 15:55:39 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-05 15:55:39 +0200
commit634b7b7d910ddb20c5af0722de41ef5ccded7358 (patch)
treed83f5fb36dc4c98035511059202fc51dc676ee54 /skate/zipkey
parenta380bffa5fb0cf20ee84ede6fa590bf38e3675f8 (diff)
parent134752c2a160986c13d6c2b9428cb2720ed382d0 (diff)
downloadrefcat-634b7b7d910ddb20c5af0722de41ef5ccded7358.tar.gz
refcat-634b7b7d910ddb20c5af0722de41ef5ccded7358.zip
Merge branch 'master' of git.archive.org:martin/cgraph
* 'master' of git.archive.org:martin/cgraph: (24 commits) update notes make: run go mod tidy after build add test for ParseUnstructured remove stub file tweaks; move parsing out of command skate-map: a bit more help output update docs set: some tweaks update README update deps start overview docs update README update docs map is a reference type fix a typo implement a few flags as mapper middleware update ignore files update deps rename skate-ref-to-release to skate-conv update README ...
Diffstat (limited to 'skate/zipkey')
-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
)