dashpager

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package dashpager

常用的分页对象

Common page objects

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 NewPager

func NewPager(index, size uint32) *Pager

NewPager @Editor robotyang at 2023

NewPager is a ...

func NewPagerAll

func NewPagerAll(index, size uint32, needAll bool) *Pager

NewPagerAll @Editor robotyang at 2023

NewPagerAll is a ...

func (*Pager) Index

func (p *Pager) Index() int

func (*Pager) NeedAll

func (p *Pager) NeedAll() bool

func (*Pager) Offset

func (p *Pager) Offset() int

func (*Pager) SetTotal

func (p *Pager) SetTotal(total uint32)

func (*Pager) Size

func (p *Pager) Size() int

func (*Pager) Total

func (p *Pager) Total() int

Jump to

Keyboard shortcuts

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