pagination

package
v0.0.0-...-2c24670 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

Data pagination data for jsonapi

View Source
var DefaultPerPage = 20

DefaultPerPage ...

View Source
var MaxPerPage = 100

MaxPerPage ...

Functions

func Apply

func Apply(c echo.Context, scope *gorm.DB, model interface{}, list interface{}, perPage int) error

Apply apply pagination to a provided scope

Types

This section is empty.

Jump to

Keyboard shortcuts

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