lazy_bug.go

 1package connections
 2
 3import "github.com/MichaelMure/git-bug/entity"
 4
 5// LazyBugEdge is a special relay edge used to implement a lazy loading connection
 6type LazyBugEdge struct {
 7	Id     entity.Id
 8	Cursor string
 9}
10
11// GetCursor return the cursor of a LazyBugEdge
12func (lbe LazyBugEdge) GetCursor() string {
13	return lbe.Cursor
14}