From eb2c8a6580bfc7458f9bbc151704c8dbdde6ec2f Mon Sep 17 00:00:00 2001 From: Ben Wells Date: Wed, 29 Apr 2020 12:42:44 +0100 Subject: [PATCH] Fix typo in field extractor (splices -> slices) (#287) (#289) --- interceptors/tags/fieldextractor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interceptors/tags/fieldextractor.go b/interceptors/tags/fieldextractor.go index edcfb67e2..aa827673b 100644 --- a/interceptors/tags/fieldextractor.go +++ b/interceptors/tags/fieldextractor.go @@ -68,7 +68,7 @@ func reflectMessageTags(msg interface{}, existingMap map[string]string, tagName if kind == reflect.Ptr && field.CanInterface() { reflectMessageTags(field.Interface(), existingMap, tagName) } - // In case of arrays/splices (repeated fields) go down to the concrete type. + // In case of arrays/slices (repeated fields) go down to the concrete type. if kind == reflect.Array || kind == reflect.Slice { if field.Len() == 0 { continue