beego: github.com/astaxie/beego/server/web/pagination Index | Files

package pagination

import "github.com/astaxie/beego/server/web/pagination"

Index

Package Files

controller.go

func SetPaginator Uses

func SetPaginator(context *context.Context, per int, nums int64) (paginator *pagination.Paginator)

SetPaginator Instantiates a Paginator and assigns it to context.Input.Data("paginator").

Package pagination imports 2 packages (graph) and is imported by 1 packages. Updated 2020-11-07. Refresh now. Tools for package owners.