Content-Length: 243784 | pFad | http://github.com/julianooi/pagination

B5 GitHub - julianooi/pagination: golang pagination library
Skip to content

julianooi/pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pagination

Used to create links used for webapps and stuff.

###Usage

Create new page from *http.Request

// a pagingation configuration
config := pagination.Config{
    PageSize:    20,
    PagePadding: 3,
    PageParam:   "_page",
    ShowFirst:   true,
    ShowLast:    true,
}
// total number of items
totalItems := 200

page := pagination.NewPage(request, totalItems, config)

About

golang pagination library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/julianooi/pagination

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy