Commit Graph
20 Commits
Author SHA1 Message Date
argoyle 8f12a7cdc1 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.2

See merge request unboundsoftware/pagination!50
2025-11-14 16:20:44 +01:00
argoyle 09e72624f5 Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.4

See merge request unboundsoftware/pagination!49
2025-11-05 23:13:04 +01:00
argoyle a8befab266 Merge branch 'renovate/gitleaks-gitleaks-8.x' into 'main'
chore(deps): update pre-commit hook gitleaks/gitleaks to v8.29.0

See merge request unboundsoftware/pagination!48
2025-11-05 06:51:44 +01:00
argoyle dd2c49d44c Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.1

See merge request unboundsoftware/pagination!47
2025-11-04 13:34:45 +01:00
argoyle ca2bf9629f Merge branch 'renovate/golang-1.25.3' into 'main'
chore(deps): update golang:1.25.3 docker digest to 9ac0edc

See merge request unboundsoftware/pagination!46
2025-11-04 13:34:01 +01:00
argoyle 92f6545acd Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.6.0

See merge request unboundsoftware/pagination!45
2025-10-29 23:14:49 +01:00
argoyle 6c3576453a Merge branch 'feat/config-cleanup-remove-initial-tag' into 'main'
feat(config): remove initial tag configuration and cleanup

See merge request unboundsoftware/pagination!44
2025-10-21 16:14:48 +02:00
argoyle a32311acd9 feat(config): remove initial tag configuration and cleanup
Removes the initial tag setting from the configuration and cleans up 
commented sections for better readability. This simplifies the config 
file and enhances maintainability for future updates.
2025-10-21 15:31:54 +02:00
argoyle fb800730bb Merge branch 'renovate/golang-1.25.3' into 'main'
chore(deps): update golang:1.25.3 docker digest to 69d1009

See merge request unboundsoftware/pagination!43
2025-10-21 14:18:08 +02:00
argoyle 90e56fa252 Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.3

See merge request unboundsoftware/pagination!42
2025-10-14 08:58:28 +02:00
argoyle 040faacceb Merge branch 'renovate/golang-1.x' into 'main'
chore(deps): update golang docker tag to v1.25.2

See merge request unboundsoftware/pagination!41
2025-10-08 09:17:56 +02:00
argoyle a558130411 Merge branch 'renovate/alessandrojcm-commitlint-pre-commit-hook-9.x' into 'main'
chore(deps): update pre-commit hook alessandrojcm/commitlint-pre-commit-hook to v9.23.0

See merge request unboundsoftware/pagination!40
2025-10-02 17:04:33 +02:00
argoyle 67ee742396 Merge branch 'renovate/golang-1.25.1' into 'main'
chore(deps): update golang:1.25.1 docker digest to 12640a4

See merge request unboundsoftware/pagination!39
2025-10-01 19:16:51 +02:00
argoyle a989c9d399 Merge branch 'renovate/golangci-golangci-lint-2.x' into 'main'
chore(deps): update pre-commit hook golangci/golangci-lint to v2.5.0

See merge request unboundsoftware/pagination!38
2025-09-22 11:21:15 +02:00
argoyle 7d1420c60a Merge branch 'renovate/lietu-go-pre-commit-1.x' into 'main'
chore(deps): update pre-commit hook lietu/go-pre-commit to v1

See merge request unboundsoftware/pagination!37
2025-09-13 17:22:59 +02:00
argoyle a8a1c613a4 fix(pagination): handle empty page return case
Adds a check for empty pages in the pagination logic to return a 
nil slice and empty PageInfo when there are no items to display. 
Updates tests to verify the behavior when no more items are 
available, ensuring robustness in pagination functionality.
2025-06-16 12:04:52 +02:00
argoyle 8e8bdac22c fix: update GetPage to check for empty items slice
Refactor the GetPage function to check for an empty slice of items 
instead of a nil pointer. Update tests to cover cases for nil and 
empty slices, ensuring consistent behavior and improved clarity.
2025-06-16 09:09:04 +02:00
argoyle bb3f7327cd fix(pagination): handle out-of-bounds slicing in pagination
Ensure the pagination function correctly handles out-of-bounds indices  
when slicing items. Update the slice logic to prevent slice bounds  
errors and add a test case for better coverage of edge cases.
2025-06-15 19:56:47 +02:00
argoyle 9978b6f900 fix: update Codecov badge URL in README
Updates the Codecov badge URL in the README to ensure it 
correctly points to the project repository. This enhances 
documentation clarity and reflects the correct integration 
status.
2025-06-10 19:55:02 +02:00
argoyle 26eff55974 feat: initial version 2025-06-07 19:44:54 +02:00