1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-10 22:31:50 +02:00

Fix typo in example (#1278)

This commit is contained in:
Bryan Boreham
2020-10-26 19:23:40 +00:00
committed by GitHub
parent da3f60ac96
commit 412ee70ad2

2
doc.go
View File

@@ -29,7 +29,7 @@ operation being performed as part of a traced workflow. It its simplest form:
var tracer otel.Tracer
func init() {
tracer := global.Tracer("instrumentation/package/name")
tracer = global.Tracer("instrumentation/package/name")
}
func operation(ctx context.Context) {