Documentation
¶
Index ¶
Constants ¶
View Source
const Last int = math.MaxInt
Variables ¶
View Source
var All = MustNew(1, Last)
Functions ¶
This section is empty.
Types ¶
type Range ¶
type Range struct {
Lower, Upper int
}
Ranges are one-based and include the last page (e.g. {1,3} means page 1, 2 and 3). Upper may be Last to indicate all pages from lower to the last. If both values are Last only the last page is covered.
func MustSingle ¶
MustSingle is like Single but panics if construction fails.
Click to show internal directories.
Click to hide internal directories.