model

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pagination

type Pagination struct {
	Page int
	Size int
}

type PaginationI

type PaginationI interface {
	SetAllData(int)
	SetFirstPage()
	SetLastPage()
	SetCurrentPage(int)
	SetNextAndPreviousPage()
	SetPreviousPage()
	SetNextPage()
}

type Resource

type Resource struct {
	FirstPage    any `json:"firstPage,omitempty"`
	NextPage     any `json:"nextPage,omitempty"`
	CurrentPage  any `json:"currentPage,omitempty"`
	PreviousPage any `json:"previousPage,omitempty"`
	LastPage     any `json:"lastPage,omitempty"`
	SizeItems    any `json:"sizeItems,omitempty"`
	TotalPages   any `json:"totalPages,omitempty"`
	TotalItems   any `json:"totalItems,omitempty"`
}

Jump to

Keyboard shortcuts

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