pager

package
v0.0.0-...-24cf497 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PerPage = 60

Variables

This section is empty.

Functions

This section is empty.

Types

type Pager

type Pager struct {
	First, Last, Offset, Page, Total int
	Prev, Next                       *url.URL
	// contains filtered or unexported fields
}

func New

func New(r *http.Request) *Pager

func (*Pager) Calculate

func (p *Pager) Calculate() bool

Jump to

Keyboard shortcuts

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