aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/models/edges.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/graphql/models/edges.go')
-rw-r--r--api/graphql/models/edges.go31
1 files changed, 31 insertions, 0 deletions
diff --git a/api/graphql/models/edges.go b/api/graphql/models/edges.go
new file mode 100644
index 00000000..6a331e3e
--- /dev/null
+++ b/api/graphql/models/edges.go
@@ -0,0 +1,31 @@
+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
+}
+
+// GetCursor return the cursor entry of an edge
+func (e TimelineItemEdge) GetCursor() string {
+ return e.Cursor
+}
+
+// GetCursor return the cursor entry of an edge
+func (e IdentityEdge) GetCursor() string {
+ return e.Cursor
+}
+
+// GetCursor return the cursor entry of an edge
+func (e LabelEdge) GetCursor() string {
+ return e.Cursor
+}