You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-12-01 23:12:29 +02:00
Ensure exported interfaces have named method parameters (#1172)
* Ensure exported interface types have named arguments * Update Styling Guide * update CHANGELOG
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
|
||||
// Sampler decides whether a trace should be sampled and exported.
|
||||
type Sampler interface {
|
||||
ShouldSample(SamplingParameters) SamplingResult
|
||||
ShouldSample(parameters SamplingParameters) SamplingResult
|
||||
Description() string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user