aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/models/models.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-30 01:08:45 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-30 01:08:45 +0200
commit3cb0469a2200dea24aff1f414aa971d5e6fe9815 (patch)
treece74b9f91707ae90f0dc8977af0df59eb6dc2590 /graphql/models/models.go
parent79b3d189186783c01acb194de825976a007dbd5f (diff)
downloadgit-bug-3cb0469a2200dea24aff1f414aa971d5e6fe9815.tar.gz
graphql: implement a first mutation
Diffstat (limited to 'graphql/models/models.go')
-rw-r--r--graphql/models/models.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphql/models/models.go b/graphql/models/models.go
index c492103c..1f182f1a 100644
--- a/graphql/models/models.go
+++ b/graphql/models/models.go
@@ -1,8 +1,15 @@
package models
-import "github.com/MichaelMure/git-bug/cache"
+import (
+ "github.com/MichaelMure/git-bug/cache"
+)
type Repository struct {
Cache cache.Cacher
Repo cache.RepoCacher
}
+
+type RepositoryMutation struct {
+ Cache cache.Cacher
+ Repo cache.RepoCacher
+}