Created CommaList type

This commit is contained in:
2019-08-31 09:51:43 -06:00
parent 287d0036f3
commit 276c0f9c0e
5 changed files with 21 additions and 14 deletions

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()"),
},
}