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

Add prefix and sort on values #12

Merged
merged 3 commits into from
May 2, 2022

Conversation

Jrmy2402
Copy link

No description provided.

@chenyahui
Copy link
Owner

chenyahui commented Apr 30, 2022

Thanks for your pr. All things look good, and I leave a comment for the naming.

@chenyahui chenyahui added feature good first issue Good for newcomers labels May 1, 2022
@chenyahui chenyahui self-requested a review May 1, 2022 12:24
@Jrmy2402
Copy link
Author

Jrmy2402 commented May 2, 2022

As you asked in your comment, I have changed the name PrefixKey for WithPrefixKey.
Thanks for the review

option.go Outdated
@@ -128,3 +129,10 @@ func IgnoreQueryOrder() Option {
c.ignoreQueryOrder = true
}
}

// PrefixKey will prefix the key
func PrefixKey(prefix string) Option {
Copy link
Owner

Choose a reason for hiding this comment

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

Rename PrefixKey to WithPrefixKey may be more appropriate~

@chenyahui chenyahui merged commit 635acb3 into chenyahui:main May 2, 2022
@Jrmy2402 Jrmy2402 deleted the addPrefixAndSortOnValues branch May 2, 2022 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants