add helper getEnumValue

This commit is contained in:
jhayotte
2017-05-12 20:46:18 +02:00
parent c750f5de81
commit e1486970f7
7 changed files with 55 additions and 2 deletions

View File

@@ -0,0 +1,2 @@
{{range $m := "colors" | getEnumValue .Enum }}-{{$m.Name}}
{{end}}