aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-07-01 11:25:27 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-07-01 11:25:27 +0200
commit05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a (patch)
tree1faec474812f15ee27754e73dc34a674b6d643ce
parent2b34ad2aa133f13d18f14740df1641aa0de5350b (diff)
downloadrefcat-05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a.tar.gz
refcat-05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a.zip
explicit var names
-rw-r--r--skate/zipkey/zipkey.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/skate/zipkey/zipkey.go b/skate/zipkey/zipkey.go
index 804ffa0..3805535 100644
--- a/skate/zipkey/zipkey.go
+++ b/skate/zipkey/zipkey.go
@@ -16,8 +16,8 @@ type Group struct {
}
type (
- keyFunc func(string) (string, error) // Given a line, extract the key.
- groupFunc func(*Group) error
+ keyFunc func(line string) (key string, err error)
+ groupFunc func(g *Group) error
)
// ZipRun reads records (separated by sep) from two readers, extracts a key