Registry / utility / vcraescu-go-paginator-v2

vcraescu-go-paginator-v2

JSON →
library2.0.0gogounverified

A generic pagination library for Go, supporting various pagination strategies like offset and cursor-based pagination.

go get github.com/vcraescu/go-paginator/v2
INSTALL
IMPORT
SIG · VCRAESCU-GO-PAGINA
V
vcraescu-go-paginator-v2
utilitygov2.0.0
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.

paginator
github.com/vcraescu/go-paginator/v2

Create a paginator and compute offset for page 2.

package main import ( "fmt" "github.com/vcraescu/go-paginator/v2" ) func main() { p := paginator.New(1, 10) p.SetPage(2) fmt.Println(p.Offset()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
9
Resources
vcraescu-go-paginator-v2 — go get vcraescu-go-paginator-v2 · libregistry