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

Move core and key to kv package #720

Merged
merged 3 commits into from May 13, 2020
Merged

Conversation

tensorchen
Copy link
Member

See #704

This relates to #261

@tensorchen
Copy link
Member Author

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.
Copy link
Contributor

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.

@Aneurysm9 Aneurysm9 mentioned this pull request May 13, 2020
@@ -17,4 +17,4 @@
//
Copy link
Member

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".

@MrAlias MrAlias linked an issue May 13, 2020 that may be closed by this pull request
@jmacd
Copy link
Contributor

jmacd commented May 13, 2020

I will follow immediately with a removal for NewKey. This change is difficult to work with.

@jmacd jmacd merged commit 1301b6f into open-telemetry:master May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move KeyValue from core package into key and rename key to kv
3 participants