paging

package
v0.0.0-...-4c45443 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PagingRequest

type PagingRequest struct {
	Page  int      `json:"page"`
	Limit int      `json:"limit"`
	Sort  []string `json:"sort"`
}

func NewPagingRequest

func NewPagingRequest(ctx echo.Context) (PagingRequest, error)

func (PagingRequest) SortQuery

func (pr PagingRequest) SortQuery() string

Jump to

Keyboard shortcuts

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