Created CommaList type

This commit is contained in:
b committed 2019-08-31 09:51:43 -06:00
1 parent 287d0036f3
commit 276c0f9c0e
5 files changed
+21 -14

No files matched your search

+1 -2
View File
@@ -71,8 +71,7 @@ var attribTypes = map[string]AttribTypeInfo{
Template: simpleTemplate("...string", "SpaceList(%s).String()"),
},
"comma list": {
Template: listTemplate(","),
Imports: []string{"strings"},
Template: simpleTemplate("...string", "CommaList(%s).String()"),
},
}