Documentation ¶
Index ¶
Constants ¶
View Source
const ( CURRENT = 1 << 0 DISABLED = 1 << 1 SEPARATOR = 1 << 2 PREVIOUS = 1 << 3 NEXT = 1 << 4 )
Variables ¶
View Source
var (
DefaultOffset = 5
)
Functions ¶
This section is empty.
Types ¶
type Func ¶
Func receives the base URL (which might be relative or absolute) and the page number and returns the URL for the requested page number, as a string.
type Paginator ¶
type Paginator struct { Base string Current int Count int Offset int Pager Pager AlwaysShowFirst bool AlwaysShowLast bool }
Click to show internal directories.
Click to hide internal directories.