Back to

Package model

Latest Go to latest

The latest major version is .

Published: Oct 6, 2020 | License: LGPL-3.0 | Module:


type Cursor

type Cursor struct {
	Count  int    `json:"count"`
	Next   string `json:"next"`
	Search string `json:"search"`

TODO: Add field to prevent cursor reuse across unrelated resources

func NewCursor

func NewCursor(filter *Filter) *Cursor

func (Cursor) MarshalGQL

func (cur Cursor) MarshalGQL(w io.Writer)

func (*Cursor) UnmarshalGQL

func (cur *Cursor) UnmarshalGQL(v interface{}) error

type Filter

type Filter struct {
	Count  *int    `json:"count"`
	Search *string `json:"search"`

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier