aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/graphql-go/graphql/language/ast/arguments.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/graphql-go/graphql/language/ast/arguments.go')
-rw-r--r--vendor/github.com/graphql-go/graphql/language/ast/arguments.go33
1 files changed, 0 insertions, 33 deletions
diff --git a/vendor/github.com/graphql-go/graphql/language/ast/arguments.go b/vendor/github.com/graphql-go/graphql/language/ast/arguments.go
deleted file mode 100644
index 5f7ef0d2..00000000
--- a/vendor/github.com/graphql-go/graphql/language/ast/arguments.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package ast
-
-import (
- "github.com/graphql-go/graphql/language/kinds"
-)
-
-// Argument implements Node
-type Argument struct {
- Kind string
- Loc *Location
- Name *Name
- Value Value
-}
-
-func NewArgument(arg *Argument) *Argument {
- if arg == nil {
- arg = &Argument{}
- }
- return &Argument{
- Kind: kinds.Argument,
- Loc: arg.Loc,
- Name: arg.Name,
- Value: arg.Value,
- }
-}
-
-func (arg *Argument) GetKind() string {
- return arg.Kind
-}
-
-func (arg *Argument) GetLoc() *Location {
- return arg.Loc
-}