9 lines
196 B
Smarty
9 lines
196 B
Smarty
var TableNames = struct {
|
|
{{range $table := .Tables -}}
|
|
{{titleCase $table.Name}} string
|
|
{{end -}}
|
|
}{
|
|
{{range $table := .Tables -}}
|
|
{{titleCase $table.Name}}: "{{$table.Name}}",
|
|
{{end -}}
|
|
}
|