8e8bdac22c474b468552490870f09305487b0eae
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.
Description