1
0
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:
Matej Gera
2020-09-16 18:09:45 +02:00
committed by GitHub
parent 2621bd4847
commit a12224a454
13 changed files with 33 additions and 23 deletions

View File

@@ -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
}