From 05b2057e6a2daeda3bfa76a0bc4b051b2b8e582a Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 1 Jul 2021 11:25:27 +0200 Subject: explicit var names --- skate/zipkey/zipkey.go | 4 ++-- 1 file 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 -- cgit v1.2.3