Versions in this module Expand all Collapse all v0 v0.5.3 Dec 8, 2023 v0.5.2 Nov 26, 2023 Changes in this version + type Page interface + Items func() []T + func Empty[T any]() Page[T] + func New[T any](content []T, pageable Pageable, total int) Page[T] + func WithContent[T any](content []T) Page[T] + type Pageable interface + First func() Pageable + HasPrevious func() bool + IsPaged func() bool + IsUnpaged func() bool + Next func() Pageable + Offset func() int + PageNumber func() int + PageSize func() int + PreviousOrFirst func() Pageable + Sort func() sort.Sort + func Of(pageNumber, pageSize int) Pageable + func OfSize(pageSize int) Pageable + func Unpaged() Pageable + type Paginated interface + Content func() any + HasContent func() bool + HasNext func() bool + HasPrevious func() bool + IsFirst func() bool + IsLast func() bool + NextPageable func() Pageable + Number func() int + NumberOfElements func() int + Pageable func() Pageable + PreviousPageable func() Pageable + Size func() int + Sort func() sort.Sort + TotalElements func() int + TotalPages func() int