entc/gen/template: improve goimports time by adding missing imports (#4103)

This commit is contained in:
Ariel Mashraki
2024-06-17 12:03:34 +03:00
committed by GitHub
parent 092b62a322
commit a1a79186fd
14 changed files with 27 additions and 4 deletions

View File

@@ -12,6 +12,9 @@ in the LICENSE file in the root directory of this source tree.
{{ template "header" $ }}
import (
"context"
"time"
"{{ $.Config.Package }}/predicate"
{{- range $n := $.Nodes }}
{{ $n.PackageAlias }} "{{ $.Config.Package }}/{{ $n.PackageDir }}"