Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultLimitCount = 25
Variables ¶
View Source
var DefaultConfig = &paginator.Config{ Keys: []string{"CreatedAt", "ID"}, Limit: DefaultLimitCount, Order: paginator.ASC, }
Functions ¶
func NewPaginator ¶
Types ¶
type PaginationLinks ¶
func (PaginationLinks) MarshalJSON ¶
func (links PaginationLinks) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.