git-bug/graphql/connections/lazy_bug.go
2018-08-13 15:28:47 +02:00

13 lines
276 B
Go

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
}