pagination

package
v0.0.0-...-579d35e Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	Total        int64
	Query        func(page, pageSize, showPageNum int64) string
	Page         int64
	PageSize     int64
	SkipNum      int64
	ShowPageNum  int64
	PageTotal    int64
	ShowPageList []int64
}

func Parse

func Parse(r *http.Request, cnt int64) Pagination

Jump to

Keyboard shortcuts

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