common

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 8

Documentation

Overview

Package common defines the common types

Package common defines the common types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	After  *string
	First  *int
	Before *string
	Last   *int
}

The pagination information compatible with graphql-relay connection definition, for more information visit: https://facebook.github.io/relay/graphql/connections.htm

type SortingDirection

type SortingDirection int
const (
	Ascending SortingDirection = iota
	Descending
)

type SortingOptionPair

type SortingOptionPair struct {
	Name      string
	Direction SortingDirection
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL