Files
ent/entc/gen/template/dialect/gremlin/globals.tmpl
2022-12-19 10:17:10 +02:00

14 lines
501 B
Cheetah

{{/*
Copyright 2019-present Facebook Inc. All rights reserved.
This source code is licensed under the Apache 2.0 license found
in the LICENSE file in the root directory of this source tree.
*/}}
{{/* gotype: entgo.io/ent/entc/gen.Graph */}}
{{/* custom globals and helpers for gremlin dialects */}}
{{ define "dialect/gremlin/globals" }}
{{/* Align API with SQL driver. */}}
// queryHook describes an internal hook for the different gremlinAll methods.
type queryHook func(context.Context)
{{ end }}