1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/internal/global
Jorropo cda2d6c7b5
Replace uses unsafe with atomic with the generic atomic.Pointer (#4226)
Line numbers debug symbols aside this code will produce the exact same machine code.
It removes a non needed use of unsafe and replace it with compile time type checked
generics.
Will help keep code cleaner in case any of this ever gets refactored in the future.
2023-06-20 12:14:45 +02:00
..
benchmark_test.go Don't import testing package in production builds (#2786) 2022-04-14 08:22:03 -07:00
handler_test.go Support a global MeterProvider in go.opentelemetry.io/otel (#3818) 2023-03-01 11:16:03 -08:00
handler.go Replace uses unsafe with atomic with the generic atomic.Pointer (#4226) 2023-06-20 12:14:45 +02:00
instruments_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
instruments.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
internal_logging_test.go Enhance internal logging (#3900) 2023-03-21 14:33:37 -05:00
internal_logging.go Replace uses unsafe with atomic with the generic atomic.Pointer (#4226) 2023-06-20 12:14:45 +02:00
meter_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
meter_types_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
meter.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
propagator_test.go Don't import testing package in production builds (#2786) 2022-04-14 08:22:03 -07:00
propagator.go Add vanity imports to internal packages (#2280) 2021-10-29 09:34:37 -07:00
state_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
state.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00
trace_test.go Don't import testing package in production builds (#2786) 2022-04-14 08:22:03 -07:00
trace.go Add vanity imports to internal packages (#2280) 2021-10-29 09:34:37 -07:00
util_test.go Revert "Move global metric back to otel/metric/global for minor release (#3986)" (#4039) 2023-05-02 11:15:39 -07:00