Files
ent/entc/gen/template/import.tmpl
Ariel Mashraki 37ae2b744e add offset step to query builder (#1049)
Summary:
Pull Request resolved: https://github.com/facebookexternal/fbc/pull/1049

Useful for real paging

Reviewed By: noamsch

Differential Revision: D16003607

fbshipit-source-id: 6a85d0e3d71a2582bc3cd8f1d66748dda4f2a10e
2019-06-26 01:43:59 -07:00

28 lines
558 B
Cheetah

{{ define "import" }}
import (
"fmt"
"context"
"errors"
"math"
"strconv"
"strings"
"time"
{{/* ignore generting on graph templates */}}
{{ if not (eq $.Config.Package $.Package) }}
"{{ $.Config.Package }}/{{ $.Package }}"
{{ with $.Config.Schema }} "{{ . }}" {{ end }}
{{ end }}
"fbc/ent"
"fbc/ent/dialect"
"fbc/ent/dialect/sql"
"fbc/lib/go/gremlin"
"fbc/lib/go/gremlin/graph/dsl"
"fbc/lib/go/gremlin/graph/dsl/__"
"fbc/lib/go/gremlin/graph/dsl/g"
"fbc/lib/go/gremlin/graph/dsl/p"
"fbc/lib/go/gremlin/encoding/graphson"
)
{{ end }}