Skip to main content

PageInfo

type PageInfo

Information about pagination in a connection.

type PageInfo struct {
// When paginating backwards, are there more items?
HasPreviousPage bool
// Are there more items when paginating forwards?
HasNextPage bool
// When paginating backwards, the cursor to continue.
StartCursor *string
// When paginating forwards, the cursor to continue.
EndCursor *string
}

func (*PageInfo) Destroy

func (r *PageInfo) Destroy()