1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-12-07 23:32:49 +02:00

Remove sub-package value from kv (#968)

* Remove sub-package value from kv

* Update refs to `go.opentelemetry.io/api/kv/value`

* Update Changelog
This commit is contained in:
Tyler Yahn
2020-07-24 12:25:27 -07:00
committed by GitHub
parent fd54b6c642
commit d99ac0993e
26 changed files with 239 additions and 276 deletions

View File

@@ -18,8 +18,6 @@ import (
"fmt"
"testing"
"go.opentelemetry.io/otel/api/kv/value"
"go.opentelemetry.io/otel/api/kv"
)
@@ -281,7 +279,7 @@ func getTestCases() []testCase {
func makeTestMap(ints []int) Map {
r := make(rawMap, len(ints))
for _, v := range ints {
r[kv.Key(fmt.Sprintf("key%d", v))] = value.Int(v)
r[kv.Key(fmt.Sprintf("key%d", v))] = kv.IntValue(v)
}
return newMap(r)
}