// {{.Name}} type {{.Name}} uint32 {{$name := .Name}} const ({{range $index, $id := .Ids}} {{title $id}}{{if eq $index 0}} {{$name}} = iota{{end}}{{end}} )