v0.0.347
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m39s
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m39s
This commit is contained in:
parent
2f915cb6c1
commit
b2b9b40792
@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.346"
|
const GoextVersion = "0.0.347"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2023-12-13T16:22:15+0100"
|
const GoextVersionTimestamp = "2023-12-16T17:57:42+0100"
|
||||||
|
@ -5,7 +5,7 @@ type Pagination struct {
|
|||||||
Limit int `json:"limit"` // max-page-size
|
Limit int `json:"limit"` // max-page-size
|
||||||
TotalPages int `json:"totalPages"` // total page-count
|
TotalPages int `json:"totalPages"` // total page-count
|
||||||
TotalItems int `json:"totalItems"` // total items-count
|
TotalItems int `json:"totalItems"` // total items-count
|
||||||
CurrentPageCount int `json:"currntPageCount"` // item-count in current page ( == len(data) )
|
CurrentPageCount int `json:"currentPageCount"` // item-count in current page ( == len(data) )
|
||||||
}
|
}
|
||||||
|
|
||||||
func CalcPaginationTotalPages(totalItems int, limit int) int {
|
func CalcPaginationTotalPages(totalItems int, limit int) int {
|
||||||
|
Loading…
Reference in New Issue
Block a user