From 3cb0469a2200dea24aff1f414aa971d5e6fe9815 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Mon, 30 Jul 2018 01:08:45 +0200 Subject: graphql: implement a first mutation --- graphql/models/models.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'graphql/models/models.go') 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 +} -- cgit