19
									
								
								helpers.go
									
									
									
									
									
								
							
							
						
						
									
										19
									
								
								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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user