fix: update GetPage to check for empty items slice #13
Reference in New Issue
Block a user
Delete Branch "fix-getpage-empty-items-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Codecov Report
All modified and coverable lines are covered by tests ✅
Additional details and impacted files
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow: