Registry / utility / unknwon-paginater

unknwon-paginater

JSON →
library0.0.0-20200328080006-042474bd0eaegogounverified

A helper module for custom pagination calculation in Go applications.

go get github.com/unknwon/paginater
INSTALL
IMPORT
SIG · UNKNWON-PAGINATER
U
unknwon-paginater
utilitygov0.0.0-20200328080006-042474bd0eae
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

paginater
github.com/unknwon/paginater

Create a paginator for 100 items with 10 per page.

package main import ( "fmt" "github.com/unknwon/paginater" ) func main() { p := paginater.New(100, 10, 1, 5) fmt.Println(p.Pages()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200328080006-042474bd0eaelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
unknwon-paginater — go get unknwon-paginater · libregistry