pager

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 5 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 {
	Page      int64             `json:"page"`
	PageSize  int64             `json:"page_size"`
	AllPage   int64             `json:"all_page"`
	AllCount  int64             `json:"all_count"`
	UrlPath   string            `json:"url_path"`
	UrlParams map[string]string `json:"url_params"`
}

func (*Pager) SetArticleID

func (p *Pager) SetArticleID(id int64, paramName ...string)

func (*Pager) ToString

func (p *Pager) ToString() string

Jump to

Keyboard shortcuts

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