Flc゛
|
80cb909774
|
refactor: replace context.Background() with t.Context()/b.Context() in tests (#7352)
Based on the Go version we currently use, the dependency already
supports 1.24+, which allows using `t.Context()` and `b.Context()` in
unit tests and benchmarks respectively.
- Enable `context-background` and `context-todo` in
[`usetesting`](https://golangci-lint.run/docs/linters/configuration/#usetesting)
- Adjust the code to support linter detection
---------
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Co-authored-by: Tyler Yahn <codingalias@gmail.com>
Co-authored-by: Damien Mathieu <42@dmathieu.com>
|
2025-09-23 09:52:45 +02:00 |
|
Matthieu MOREL
|
d464abf1f3
|
chore: enable unused-parameter rule from revive (#7122)
#### Description
Enable and fixes
[unused-parameter](https://github.com/mgechev/revive/blob/HEAD/RULES_DESCRIPTIONS.md#unused-parameter)
rule from revive
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
|
2025-08-04 12:48:04 -07:00 |
|
Robert Pająk
|
7dea232a46
|
[chore] Simplify the license header (#4987)
|
2024-02-29 07:05:28 +01:00 |
|
Tyler Yahn
|
15d6ba2921
|
Unify metric API into the one otel/metric package (#4018)
* Move instrument into metric
* Update metric docs to include instrument
* Update package names
* Update all imports of sdk/metric/instrument
* Rename Option to InstrumentOption
* Deprecate otel/metric/instrument
* Add changelog entry
|
2023-04-27 11:25:48 -07:00 |
|