aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/graphql-go/graphql/language/ast/directives.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-29 18:58:42 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-29 18:58:42 +0200
commit8fa0b258ac89781dae269790a4bde09cbcd2f324 (patch)
treeb9bcf0826f5739f128de52123447cede23291c02 /vendor/github.com/graphql-go/graphql/language/ast/directives.go
parent6363518c85cbd8247a5f6507b8a1dd3903cfb71d (diff)
downloadgit-bug-8fa0b258ac89781dae269790a4bde09cbcd2f324.tar.gz
cleaning
Diffstat (limited to 'vendor/github.com/graphql-go/graphql/language/ast/directives.go')
-rw-r--r--vendor/github.com/graphql-go/graphql/language/ast/directives.go33
1 files changed, 0 insertions, 33 deletions
diff --git a/vendor/github.com/graphql-go/graphql/language/ast/directives.go b/vendor/github.com/graphql-go/graphql/language/ast/directives.go
deleted file mode 100644
index 0c8a8c0e..00000000
--- a/vendor/github.com/graphql-go/graphql/language/ast/directives.go
+++ /dev/null
@@ -1,33 +0,0 @@
-package ast
-
-import (
- "github.com/graphql-go/graphql/language/kinds"
-)
-
-// Directive implements Node
-type Directive struct {
- Kind string
- Loc *Location
- Name *Name
- Arguments []*Argument
-}
-
-func NewDirective(dir *Directive) *Directive {
- if dir == nil {
- dir = &Directive{}
- }
- return &Directive{
- Kind: kinds.Directive,
- Loc: dir.Loc,
- Name: dir.Name,
- Arguments: dir.Arguments,
- }
-}
-
-func (dir *Directive) GetKind() string {
- return dir.Kind
-}
-
-func (dir *Directive) GetLoc() *Location {
- return dir.Loc
-}