aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/resolvers/bug.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-29 23:48:52 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-29 23:48:52 +0200
commit5b70e3452a4685112fd005fef0727930ebd2adaf (patch)
tree8ccc03847dd09d48f2c979772a6d0bb23fd8cbcc /graphql/resolvers/bug.go
parent64354c7ce3ff8d1c8c780a93b46c933781851edf (diff)
downloadgit-bug-5b70e3452a4685112fd005fef0727930ebd2adaf.tar.gz
graphql: fix knot in the graphql/gqlgen usage
Diffstat (limited to 'graphql/resolvers/bug.go')
-rw-r--r--graphql/resolvers/bug.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/graphql/resolvers/bug.go b/graphql/resolvers/bug.go
index 246507c6..a895cdcd 100644
--- a/graphql/resolvers/bug.go
+++ b/graphql/resolvers/bug.go
@@ -3,14 +3,11 @@ package resolvers
import (
"context"
"github.com/MichaelMure/git-bug/bug"
- "github.com/MichaelMure/git-bug/cache"
"github.com/MichaelMure/git-bug/graphql/connections"
"github.com/MichaelMure/git-bug/graphql/models"
)
-type bugResolver struct {
- cache cache.Cacher
-}
+type bugResolver struct{}
func (bugResolver) Status(ctx context.Context, obj *bug.Snapshot) (models.Status, error) {
return convertStatus(obj.Status)