aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/graphql-go/graphql/language/source/source.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/graphql-go/graphql/language/source/source.go')
-rw-r--r--vendor/github.com/graphql-go/graphql/language/source/source.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/vendor/github.com/graphql-go/graphql/language/source/source.go b/vendor/github.com/graphql-go/graphql/language/source/source.go
deleted file mode 100644
index f14af003..00000000
--- a/vendor/github.com/graphql-go/graphql/language/source/source.go
+++ /dev/null
@@ -1,20 +0,0 @@
-package source
-
-const (
- name = "GraphQL"
-)
-
-type Source struct {
- Body []byte
- Name string
-}
-
-func NewSource(s *Source) *Source {
- if s == nil {
- s = &Source{Name: name}
- }
- if s.Name == "" {
- s.Name = name
- }
- return s
-}