v0.0.547 allow calling ListWithCount with pageSize=0
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 2m55s

This commit is contained in:
2024-12-08 18:04:04 +01:00
parent d8cf255c80
commit 49375e90f0
7 changed files with 68 additions and 18 deletions

View File

@@ -35,3 +35,7 @@ func (c CTPaginated) Token() string {
func (c CTPaginated) IsEnd() bool {
return c.Mode == CTMEnd
}
func (c CTPaginated) IsStart() bool {
return c.Mode == CTMStart || c.Page == 1
}