aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/models/edges.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/models/edges.go
parentf2f779c5a8b4efe67317bbffe110a9880c1f529a (diff)
downloadgit-bug-df144e727a858ed07e3c9328d91efe052c4781e1.tar.gz
fix some linting trouble
Diffstat (limited to 'graphql/models/edges.go')
-rw-r--r--graphql/models/edges.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphql/models/edges.go b/graphql/models/edges.go
index 677d13f5..7de76edf 100644
--- a/graphql/models/edges.go
+++ b/graphql/models/edges.go
@@ -1,13 +1,16 @@
package models
+// GetCursor return the cursor entry of an edge
func (e OperationEdge) GetCursor() string {
return e.Cursor
}
+// GetCursor return the cursor entry of an edge
func (e BugEdge) GetCursor() string {
return e.Cursor
}
+// GetCursor return the cursor entry of an edge
func (e CommentEdge) GetCursor() string {
return e.Cursor
}