Fixed some lint errors where spacing got messed up
This commit is contained in:
parent
b1344befe2
commit
79a228e297
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
{{- $dot := . -}}
|
{{- $dot := . -}}
|
||||||
{{- range .Table.FKeys -}}
|
{{- range .Table.FKeys -}}
|
||||||
{{- $txt := txtsFromFKey $dot.Tables $dot.Table . -}}
|
{{- $txt := txtsFromFKey $dot.Tables $dot.Table . -}}
|
||||||
{{- $varNameSingular := .ForeignTable | singular | camelCase -}}
|
{{- $varNameSingular := .ForeignTable | singular | camelCase}}
|
||||||
// {{$txt.Function.Name}}G pointed to by the foreign key.
|
// {{$txt.Function.Name}}G pointed to by the foreign key.
|
||||||
func (o *{{$txt.LocalTable.NameGo}}) {{$txt.Function.Name}}G(mods ...qm.QueryMod) {{$varNameSingular}}Query {
|
func (o *{{$txt.LocalTable.NameGo}}) {{$txt.Function.Name}}G(mods ...qm.QueryMod) {{$varNameSingular}}Query {
|
||||||
return o.{{$txt.Function.Name}}(boil.GetDB(), mods...)
|
return o.{{$txt.Function.Name}}(boil.GetDB(), mods...)
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{{- $dot := . -}}
|
{{- $dot := . -}}
|
||||||
{{- range .Table.ToOneRelationships -}}
|
{{- range .Table.ToOneRelationships -}}
|
||||||
{{- $txt := txtsFromOneToOne $dot.Tables $dot.Table . -}}
|
{{- $txt := txtsFromOneToOne $dot.Tables $dot.Table . -}}
|
||||||
{{- $varNameSingular := .ForeignTable | singular | camelCase -}}
|
{{- $varNameSingular := .ForeignTable | singular | camelCase}}
|
||||||
// {{$txt.Function.Name}}G pointed to by the foreign key.
|
// {{$txt.Function.Name}}G pointed to by the foreign key.
|
||||||
func (o *{{$txt.LocalTable.NameGo}}) {{$txt.Function.Name}}G(mods ...qm.QueryMod) {{$varNameSingular}}Query {
|
func (o *{{$txt.LocalTable.NameGo}}) {{$txt.Function.Name}}G(mods ...qm.QueryMod) {{$varNameSingular}}Query {
|
||||||
return o.{{$txt.Function.Name}}(boil.GetDB(), mods...)
|
return o.{{$txt.Function.Name}}(boil.GetDB(), mods...)
|
||||||
|
|
Loading…
Reference in a new issue