Skip to content

Conversation

@florianl
Copy link
Member

Description

This is an automated code change done by applying the following command:

go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...

It updates Go code according to relevant changes in the programming language. Besides style changes, it also improves performance - e.g. by changing something like []byte(fmt.Sprintf(..)) to fmt.Appendf(..).

Link to tracking issue

Fixes

Testing

Documentation

This is an automated code change done by applying the following command:

```
go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -fix -test ./...
```

It updates Go code according to relevant changes in the programming language. Besides style changes, it also improves performance - e.g. by changing something like `[]byte(fmt.Sprintf(..))` to `fmt.Appendf(..)`.

Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
Copy link
Member

@paulojmdias paulojmdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mx-psi mx-psi merged commit f425a8a into open-telemetry:main Sep 24, 2025
186 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants