Skip to content

Commit 691b4b4

Browse files
authored
fix: correct package import paths (#7244)
1 parent 4b2bef6 commit 691b4b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

exporters/stdout/stdouttrace/internal/gen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
// package.
66
package internal // import "go.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal"
77

8-
//go:generate gotmpl --body=../../../../internal/shared/counter/counter.go.tmpl "--data={}" --out=counter/counter.go
8+
//go:generate gotmpl --body=../../../../internal/shared/counter/counter.go.tmpl "--data={ \"pkg\": \"go.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/counter\" }" --out=counter/counter.go
99
//go:generate gotmpl --body=../../../../internal/shared/counter/counter_test.go.tmpl "--data={}" --out=counter/counter_test.go

internal/shared/counter/counter.go.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//
99
// This package is used to generate unique IDs while allowing testing packages
1010
// to reset the counter.
11-
package counter // import "go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc/internal/counter"
11+
package counter // import "{{.pkg}}"
1212

1313
import "sync/atomic"
1414

0 commit comments

Comments
 (0)