From 82eaceffc1d750832a2a66f206749d2dca968cce Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Fri, 21 Sep 2018 18:18:51 +0200 Subject: repo: split the Repo interface to avoid abstraction leak in RepoCache --- graphql/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphql/handler.go') diff --git a/graphql/handler.go b/graphql/handler.go index ed5047c4..1e8498c8 100644 --- a/graphql/handler.go +++ b/graphql/handler.go @@ -17,7 +17,7 @@ type Handler struct { *resolvers.RootResolver } -func NewHandler(repo repository.Repo) (Handler, error) { +func NewHandler(repo repository.ClockedRepo) (Handler, error) { h := Handler{ RootResolver: resolvers.NewRootResolver(), } -- cgit