aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/graphql-go/graphql/language/typeInfo/type_info.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/graphql-go/graphql/language/typeInfo/type_info.go')
-rw-r--r--vendor/github.com/graphql-go/graphql/language/typeInfo/type_info.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/graphql-go/graphql/language/typeInfo/type_info.go b/vendor/github.com/graphql-go/graphql/language/typeInfo/type_info.go
new file mode 100644
index 00000000..e012ee02
--- /dev/null
+++ b/vendor/github.com/graphql-go/graphql/language/typeInfo/type_info.go
@@ -0,0 +1,11 @@
+package typeInfo
+
+import (
+ "github.com/graphql-go/graphql/language/ast"
+)
+
+// TypeInfoI defines the interface for TypeInfo Implementation
+type TypeInfoI interface {
+ Enter(node ast.Node)
+ Leave(node ast.Node)
+}