From 7758db835779a3284accbf4affd28863e1d667f7 Mon Sep 17 00:00:00 2001 From: gfanton Date: Sat, 11 Feb 2017 17:18:26 +0100 Subject: [PATCH] Create a full namespace --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index b744657..812e5eb 100644 --- a/helpers.go +++ b/helpers.go @@ -210,7 +210,7 @@ func shortType(s string) string { func namespacedFlowType(s string) string { trimmed := strings.TrimLeft(s, ".") splitted := strings.Split(trimmed, ".") - return strings.Join(splitted[1:], "$") + return strings.Join(splitted, "$") } func httpPath(m *descriptor.MethodDescriptorProto) string {