diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-29 18:58:42 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-29 18:58:42 +0200 |
commit | 8fa0b258ac89781dae269790a4bde09cbcd2f324 (patch) | |
tree | b9bcf0826f5739f128de52123447cede23291c02 /vendor/github.com/graphql-go/graphql/language/source/source.go | |
parent | 6363518c85cbd8247a5f6507b8a1dd3903cfb71d (diff) | |
download | git-bug-8fa0b258ac89781dae269790a4bde09cbcd2f324.tar.gz |
cleaning
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.go | 20 |
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 -} |