-
Notifications
You must be signed in to change notification settings - Fork 30
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
Not using value parameter #14
Comments
Thank you for the comment @gozeloglu The SetEx method is currently implemented on the key. The idea is that as follows
We could definitely combine this into a single command, what do you think? |
What do you mean by this? Where is the key?
Do you mean by combining |
The SetEx method would only use key in the params in the function
|
I think what gozeloglu meant was that https://github.com/arriqaaq/flashdb/blob/main/tx_str.go#L22 looks like a simple omission bug, where
should be changed to actually record the value as well as the key and TTL. Otherwise the signature and documentation make no sense. The value
So it very much looks like a bug in the implimentation of SetEx. p.s. Thank you for publishing this package. It looks delightful. |
Hi,
I've seen that
value
is not being used in here. Is there any reason to not use thevalue
parameter? If you miss to use it, I can fix it.The text was updated successfully, but these errors were encountered: