Skip to content

Commit

Permalink
use tabs instead of whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowolf91 committed Jan 2, 2024
1 parent db282cb commit c7f1c20
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions templates/main/07_relationship_to_one_eager.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`),
Expand Down
10 changes: 5 additions & 5 deletions templates/main/08_relationship_one_to_one_eager.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`),
Expand Down
4 changes: 2 additions & 2 deletions templates/main/09_relationship_to_many_eager.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down

0 comments on commit c7f1c20

Please sign in to comment.