diff options
Diffstat (limited to 'graphql/models/edges.go')
-rw-r--r-- | graphql/models/edges.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/graphql/models/edges.go b/graphql/models/edges.go index 1dc42583..4bf10fd3 100644 --- a/graphql/models/edges.go +++ b/graphql/models/edges.go @@ -19,3 +19,8 @@ func (e CommentEdge) GetCursor() string { func (e TimelineItemEdge) GetCursor() string { return e.Cursor } + +// GetCursor return the cursor entry of an edge +func (e IdentityEdge) GetCursor() string { + return e.Cursor +} |