sqlboiler/cmds/templates_test/all.tpl
Patrick O'brien f7a4ed0c54 Did more stripping, fixed broken things
* Fixed broken template
* Did some reorganizing
* Need to fix TestTemplates test
2016-03-28 18:17:41 +10:00

9 lines
312 B
Smarty

{{- $tableNameSingular := titleCaseSingular .Table.Name -}}
{{- $dbName := singular .Table.Name -}}
{{- $tableNamePlural := titleCasePlural .Table.Name -}}
{{- $varNamePlural := camelCasePlural .Table.Name -}}
// {{$tableNamePlural}}All retrieves all records.
func Test{{$tableNamePlural}}All(t *testing.T) {
}