Fix template generation problem for to_one
This commit is contained in:
parent
40ce5838f3
commit
0e4372f0d5
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{{- define "relationship_to_one_setops_test_helper" -}}
|
||||
{{- $varNameSingular := .ForeignKey.Table | singular | camelCase -}}
|
||||
{{- $foreignVarNameSingular := .ForeignKey.ForeignTable | singular | camelCase -}}
|
||||
{{- $foreignVarNameSingular := .ForeignKey.ForeignTable | singular | camelCase}}
|
||||
func test{{.LocalTable.NameGo}}ToOneSetOp{{.ForeignTable.NameGo}}_{{.Function.Name}}(t *testing.T) {
|
||||
var err error
|
||||
|
||||
|
|
Loading…
Reference in a new issue