Create a full namespace

This commit is contained in:
gfanton 2017-02-11 17:18:26 +01:00
parent cf5e1b7064
commit 7758db8357

View File

@ -210,7 +210,7 @@ func shortType(s string) string {
func namespacedFlowType(s string) string { func namespacedFlowType(s string) string {
trimmed := strings.TrimLeft(s, ".") trimmed := strings.TrimLeft(s, ".")
splitted := strings.Split(trimmed, ".") splitted := strings.Split(trimmed, ".")
return strings.Join(splitted[1:], "$") return strings.Join(splitted, "$")
} }
func httpPath(m *descriptor.MethodDescriptorProto) string { func httpPath(m *descriptor.MethodDescriptorProto) string {