-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Move core and key to kv package #720
Conversation
This is the last step of core package refactoring. In this PR, core package will be completely eliminated. |
// allowed character set in the key depends on the use of the key. | ||
type Key string | ||
|
||
// NewKey creates a new key with a passed name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can now just remove this function. The caller can use kv.Key(...)
instead of NewKey, that reads better to me.
@@ -17,4 +17,4 @@ | |||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The copied documentation above this line is no longer correct. This package doesn't provide "values, numbers[, or] span contexts".
I will follow immediately with a removal for NewKey. This change is difficult to work with. |
See #704
This relates to #261