You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
Modernize (#7089)
Use https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize to update code to new style. --------- Co-authored-by: Flc゛ <four_leaf_clover@foxmail.com> Co-authored-by: Damien Mathieu <42@dmathieu.com>
This commit is contained in:
committed by
GitHub
parent
7bcbb6a49a
commit
5e1c62a2d5
@@ -40,7 +40,7 @@ func TestDefined(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestJSONValue(t *testing.T) {
|
||||
var kvs interface{} = [2]attribute.KeyValue{
|
||||
var kvs any = [2]attribute.KeyValue{
|
||||
attribute.String("A", "B"),
|
||||
attribute.Int64("C", 1),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user