From 1006df35645b46edc2963817cb4d95e06594a293 Mon Sep 17 00:00:00 2001
From: gfanton <guilhem.fanton@gmail.com>
Date: Tue, 17 Jan 2017 13:54:33 +0100
Subject: [PATCH] Expose namespaced type

---
 helpers.go | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/helpers.go b/helpers.go
index 6aaccf5..8f34beb 100644
--- a/helpers.go
+++ b/helpers.go
@@ -60,15 +60,16 @@ var ProtoHelpersFuncMap = template.FuncMap{
 	"kebabCase": func(s string) string {
 		return strings.Replace(xstrings.ToSnakeCase(s), "_", "-", -1)
 	},
-	"snakeCase":       xstrings.ToSnakeCase,
-	"getMessageType":  getMessageType,
-	"isFieldMessage":  isFieldMessage,
-	"isFieldRepeated": isFieldRepeated,
-	"goType":          goType,
-	"jsType":          jsType,
-	"httpVerb":        httpVerb,
-	"httpPath":        httpPath,
-	"shortType":       shortType,
+	"snakeCase":          xstrings.ToSnakeCase,
+	"getMessageType":     getMessageType,
+	"isFieldMessage":     isFieldMessage,
+	"isFieldRepeated":    isFieldRepeated,
+	"goType":             goType,
+	"jsType":             jsType,
+	"namespacedFlowType": namespacedFlowType,
+	"httpVerb":           httpVerb,
+	"httpPath":           httpPath,
+	"shortType":          shortType,
 }
 
 func init() {