You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +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
@@ -157,7 +157,7 @@ func TestRecorderConcurrentSafe(t *testing.T) {
|
||||
|
||||
r := &Recorder{}
|
||||
|
||||
for i := 0; i < goRoutineN; i++ {
|
||||
for range goRoutineN {
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user