From c7f1c20d37864b11ba0be9299a740363cdd65528 Mon Sep 17 00:00:00 2001 From: Nicolas Wolf Date: Tue, 2 Jan 2024 15:57:12 +0100 Subject: [PATCH] use tabs instead of whitespace --- templates/main/07_relationship_to_one_eager.go.tpl | 10 +++++----- templates/main/08_relationship_one_to_one_eager.go.tpl | 10 +++++----- templates/main/09_relationship_to_many_eager.go.tpl | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/main/07_relationship_to_one_eager.go.tpl b/templates/main/07_relationship_to_one_eager.go.tpl index f66b09b1..ce68d02b 100644 --- a/templates/main/07_relationship_to_one_eager.go.tpl +++ b/templates/main/07_relationship_to_one_eager.go.tpl @@ -70,11 +70,11 @@ func ({{$ltable.DownSingular}}L) Load{{$rel.Foreign}}({{if $.NoContext}}e boil.E } argsSlice := make([]interface{}, len(args)) - i := 0 - for arg := range args { - argsSlice[i] = arg - i++ - } + i := 0 + for arg := range args { + argsSlice[i] = arg + i++ + } query := NewQuery( qm.From(`{{if $.Dialect.UseSchema}}{{$.Schema}}.{{end}}{{.ForeignTable}}`), diff --git a/templates/main/08_relationship_one_to_one_eager.go.tpl b/templates/main/08_relationship_one_to_one_eager.go.tpl index 529528eb..99fec29b 100644 --- a/templates/main/08_relationship_one_to_one_eager.go.tpl +++ b/templates/main/08_relationship_one_to_one_eager.go.tpl @@ -58,11 +58,11 @@ func ({{$ltable.DownSingular}}L) Load{{$relAlias.Local}}({{if $.NoContext}}e boi } argsSlice := make([]interface{}, len(args)) - i := 0 - for arg := range args { - argsSlice[i] = arg - i++ - } + i := 0 + for arg := range args { + argsSlice[i] = arg + i++ + } query := NewQuery( qm.From(`{{if $.Dialect.UseSchema}}{{$.Schema}}.{{end}}{{.ForeignTable}}`), diff --git a/templates/main/09_relationship_to_many_eager.go.tpl b/templates/main/09_relationship_to_many_eager.go.tpl index 3afc64bd..81643be3 100644 --- a/templates/main/09_relationship_to_many_eager.go.tpl +++ b/templates/main/09_relationship_to_many_eager.go.tpl @@ -60,8 +60,8 @@ func ({{$ltable.DownSingular}}L) Load{{$relAlias.Local}}({{if $.NoContext}}e boi argsSlice := make([]interface{}, len(args)) i := 0 for arg := range args { - argsSlice[i] = arg - i++ + argsSlice[i] = arg + i++ } {{if .ToJoinTable -}}