Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure a cursor can continue to iterate elements in reverse direction by call Next when it has already reached the beginning #734

Merged
merged 2 commits into from
May 2, 2024

Conversation

ahrtr
Copy link
Member

@ahrtr ahrtr commented Apr 21, 2024

Fix #733

@ahrtr
Copy link
Member Author

ahrtr commented Apr 23, 2024

cc @fuweid @tjungblu PTAL

Copy link
Contributor

@tjungblu tjungblu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ahrtr
Copy link
Member Author

ahrtr commented Apr 29, 2024

@fuweid Please take a look, and let me know if you have any comment, thx

@fuweid
Copy link
Member

fuweid commented Apr 29, 2024

Hi @ahrtr I'm OOO until Thursday. Will check this in this week. Sorry for that

…iterate elements in reverse direction after it has reached to the first element

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
… by call Next when it has already reached the beginning

Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
cursor.go Show resolved Hide resolved
Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Cursor.Prev() out of range issue v1.3.9
3 participants