From f34326e4d70bd1cb3175b3f5e5d99cdd49e28770 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 11 Nov 2019 17:37:48 +0000 Subject: [PATCH] fix endpoint extractor panic --- extractor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/extractor.go b/extractor.go index 8b3ed4f..875bb1c 100644 --- a/extractor.go +++ b/extractor.go @@ -94,6 +94,7 @@ func extractEndpoint(method reflect.Method) *registry.Endpoint { Name: method.Name, Request: request, Response: response, + Metadata: make(map[string]string), } if stream {