page

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 4 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 {
	Url string
	// contains filtered or unexported fields
}

func NewPage

func NewPage(items, curPage, perNum int64, url string) *Pager

NewPage 构造实列

func (*Pager) HTML

func (pager *Pager) HTML() string

HTML 转 html

func (*Pager) SetMaxPagesToShow

func (pager *Pager) SetMaxPagesToShow(maxPagesToShow int64)

SetMaxPagesToShow 设置最大页面显示

Jump to

Keyboard shortcuts

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