aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/connections/lazy_bug.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-13 15:28:16 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-13 15:28:47 +0200
commitdf144e727a858ed07e3c9328d91efe052c4781e1 (patch)
treebfbfeea70f97ab3d4274c8e5add2c3aeeac1423b /graphql/connections/lazy_bug.go
parentf2f779c5a8b4efe67317bbffe110a9880c1f529a (diff)
downloadgit-bug-df144e727a858ed07e3c9328d91efe052c4781e1.tar.gz
fix some linting trouble
Diffstat (limited to 'graphql/connections/lazy_bug.go')
-rw-r--r--graphql/connections/lazy_bug.go2
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
}