func NewPager
NewPager creates a new Pager with default values.
Item represents a key-value pair in the AVL tree.
Page represents a single page of results.
Pager is a struct that holds the AVL tree and pagination parameters.
GetPage retrieves a page of results from the AVL tree.
GetPageByPath retrieves a page of results based on the query parameters in the URL path.
ParseQuery parses the URL to extract the page number and page size.