diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2021-07-01 11:25:27 +0200 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2021-07-01 11:25:27 +0200 |
commit | 05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a (patch) | |
tree | 1faec474812f15ee27754e73dc34a674b6d643ce /skate/zipkey | |
parent | 2b34ad2aa133f13d18f14740df1641aa0de5350b (diff) | |
download | refcat-05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a.tar.gz refcat-05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a.zip |
explicit var names
Diffstat (limited to 'skate/zipkey')
-rw-r--r-- | skate/zipkey/zipkey.go | 4 |
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 |