sqlboiler/templates/singleton/boil_table_names.tpl

10 lines
196 B
Smarty
Raw Normal View History

var TableNames = struct {
{{range $table := .Tables -}}
{{titleCase $table.Name}} string
{{end -}}
}{
{{range $table := .Tables -}}
{{titleCase $table.Name}}: "{{$table.Name}}",
{{end -}}
}