Skip to content

Commit a571bc1

Browse files
codeimmortalpellareddmathieu
authored
remove internal/matchers (#6777)
Fixes #6523 Remove internal/matchers from code base and its code generation Co-authored-by: Robert Pająk <[email protected]> Co-authored-by: Damien Mathieu <[email protected]>
1 parent 07d9cab commit a571bc1

File tree

6 files changed

+0
-354
lines changed

6 files changed

+0
-354
lines changed

.golangci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ linters:
6666
desc: Do not use cross-module internal packages.
6767
- pkg: go.opentelemetry.io/otel/internal/internaltest
6868
desc: Do not use cross-module internal packages.
69-
- pkg: go.opentelemetry.io/otel/internal/matchers
70-
desc: Do not use cross-module internal packages.
7169
otlp-internal:
7270
files:
7371
- '!**/exporters/otlp/internal/**/*.go'

internal/gen.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
// Package internal contains utility functions and internal implementations
55
package internal // import "go.opentelemetry.io/otel/internal"
66

7-
//go:generate gotmpl --body=./shared/matchers/expectation.go.tmpl "--data={}" --out=matchers/expectation.go
8-
//go:generate gotmpl --body=./shared/matchers/expecter.go.tmpl "--data={}" --out=matchers/expecter.go
9-
//go:generate gotmpl --body=./shared/matchers/temporal_matcher.go.tmpl "--data={}" --out=matchers/temporal_matcher.go
10-
117
//go:generate gotmpl --body=./shared/internaltest/doc.go.tmpl "--data={}" --out=internaltest/doc.go
128
//go:generate gotmpl --body=./shared/internaltest/text_map_carrier.go.tmpl "--data={}" --out=internaltest/text_map_carrier.go
139
//go:generate gotmpl --body=./shared/internaltest/text_map_carrier_test.go.tmpl "--data={}" --out=internaltest/text_map_carrier_test.go

internal/matchers/expectation.go

Lines changed: 0 additions & 299 deletions
This file was deleted.

internal/matchers/expecter.go

Lines changed: 0 additions & 28 deletions
This file was deleted.

internal/matchers/package.go

Lines changed: 0 additions & 4 deletions
This file was deleted.

internal/matchers/temporal_matcher.go

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)