diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-13 15:28:16 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-13 15:28:47 +0200 |
commit | df144e727a858ed07e3c9328d91efe052c4781e1 (patch) | |
tree | bfbfeea70f97ab3d4274c8e5add2c3aeeac1423b /graphql/connections/lazy_bug.go | |
parent | f2f779c5a8b4efe67317bbffe110a9880c1f529a (diff) | |
download | git-bug-df144e727a858ed07e3c9328d91efe052c4781e1.tar.gz |
fix some linting trouble
Diffstat (limited to 'graphql/connections/lazy_bug.go')
-rw-r--r-- | graphql/connections/lazy_bug.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphql/connections/lazy_bug.go b/graphql/connections/lazy_bug.go index 35dcb687..24eda0b6 100644 --- a/graphql/connections/lazy_bug.go +++ b/graphql/connections/lazy_bug.go @@ -1,10 +1,12 @@ package connections +// LazyBugEdge is a special relay edge used to implement a lazy loading connection type LazyBugEdge struct { Id string Cursor string } +// GetCursor return the cursor of a LazyBugEdge func (lbe LazyBugEdge) GetCursor() string { return lbe.Cursor } |