mirror of
https://github.com/ent/ent.git
synced 2026-05-24 09:31:56 +03:00
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
28 lines
558 B
Cheetah
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 }} |