page

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page interface {
	Content() interface{}
	Number() int32
	NumberOfElements() int32
	Pageable() paging.Pageable
	Size() int32
	Sort() *sort.Sort
	HasContent() bool
	TotalElements() int32
	TotalPages() int32
}

func Empty

func Empty(pageable paging.Pageable) Page

func New

func New(content interface{}, pageable paging.Pageable, total int32) Page

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL