pg

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pager

type Pager struct {
	// contains filtered or unexported fields
}

func New

func New(total int) *Pager

func (*Pager) Last

func (p *Pager) Last() int

func (*Pager) Limit

func (p *Pager) Limit() int

func (*Pager) Next

func (p *Pager) Next() int

func (*Pager) Offset

func (p *Pager) Offset() int

func (*Pager) Page

func (p *Pager) Page(page int) int

func (*Pager) Prev

func (p *Pager) Prev() int

Jump to

Keyboard shortcuts

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