From 7e8b7dabc3b73a449eb23603a131eb308817862b Mon Sep 17 00:00:00 2001 From: Ben Wells Date: Tue, 28 Apr 2020 11:41:58 +0100 Subject: [PATCH] Fix typo in field extractor (splices -> slices) (#287) --- 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