mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-04 09:43:23 +02:00
8ebc7bbad0
It would be nice to follow a single schema for naming context functions. In the trace package we followed the form FooFromContext and ContextWithFoo. Do the same in the correlation package. The schema WithFoo is mainly used for functions following the options pattern. Not sure about a name of the NewContext function, though. For now I have left it alone. Co-authored-by: Rahul Patel <rghetia@yahoo.com> |
||
---|---|---|
.. | ||
core | ||
correlation | ||
global | ||
key | ||
metric | ||
propagation | ||
testharness | ||
trace | ||
unit |