diff options
Diffstat (limited to 'vendor/github.com/graphql-go/graphql/language/ast/location.go')
-rw-r--r-- | vendor/github.com/graphql-go/graphql/language/ast/location.go | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/vendor/github.com/graphql-go/graphql/language/ast/location.go b/vendor/github.com/graphql-go/graphql/language/ast/location.go deleted file mode 100644 index 266dc847..00000000 --- a/vendor/github.com/graphql-go/graphql/language/ast/location.go +++ /dev/null @@ -1,22 +0,0 @@ -package ast - -import ( - "github.com/graphql-go/graphql/language/source" -) - -type Location struct { - Start int - End int - Source *source.Source -} - -func NewLocation(loc *Location) *Location { - if loc == nil { - loc = &Location{} - } - return &Location{ - Start: loc.Start, - End: loc.End, - Source: loc.Source, - } -} |