type golang.org/x/pkgsite/internal/frontend.paginationParams
6 uses
golang.org/x/pkgsite/internal/frontend (current package)
paginate.go#L47: func newPagination(params paginationParams, resultCount, totalCount int) pagination {
paginate.go#L62: type paginationParams struct {
paginate.go#L69: func (p paginationParams) offset() int {
paginate.go#L74: func newPaginationParams(r *http.Request, defaultLimit int) paginationParams {
paginate.go#L88: return paginationParams{
search.go#L60: func fetchSearchPage(ctx context.Context, db *postgres.DB, query string, pageParams paginationParams) (*SearchPage, error) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |