v0.0.347
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 1m39s

This commit is contained in:
Mike Schwörer 2023-12-16 17:57:42 +01:00
parent 2f915cb6c1
commit b2b9b40792
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
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"

View File

@ -5,7 +5,7 @@ type Pagination struct {
Limit int `json:"limit"` // max-page-size
TotalPages int `json:"totalPages"` // total page-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 {