pagination

package
v0.0.0-...-98a29f8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	Limit     int //限制大小
	PageCount int //总页数
	Total     int //总数据量
}

func (*Pagination) GetPage

func (p *Pagination) GetPage(page int) (s int, e int)

func (*Pagination) Init

func (p *Pagination) Init(limit int, total int)

Jump to

Keyboard shortcuts

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