Files
Dipanshu singh acceffca88 gotmpl: update headers to enable golangci-lint on generated files (#8481)
Fixes #8477

The "Code generated by gotmpl. DO NOT MODIFY." header was making
golangci-lint skip all the generated files entirely. Swapped it to
"DO NOT MODIFY. Generated by gotmpl." so lint actually runs on them now.

One side effect — gofumpt started treating these as regular Go files,
which meant the copyright header had to come first or formatting checks
would fail. Moved it to the top accordingly.

With lint now running on these files, it flagged a bunch of things:
C-style for loops that could be range-over-int (Go 1.22+), some import
ordering issues, and minor formatting stuff. Fixed all of it.
2026-06-29 17:06:09 +02:00

28 lines
1.3 KiB
Plaintext

http://localhost
https://localhost
http://jaeger-collector
https://github.com/open-telemetry/opentelemetry-go/milestone/
https://github.com/open-telemetry/opentelemetry-go/projects
# Weaver model URL for semantic-conventions repository.
https?:\/\/github\.com\/open-telemetry\/semantic-conventions\/archive\/refs\/tags\/[^.]+\.zip\[[^]]+]
file:///home/runner/work/opentelemetry-go/opentelemetry-go/libraries
file:///home/runner/work/opentelemetry-go/opentelemetry-go/manual
http://4.3.2.1:78/user/123
file:///home/runner/work/opentelemetry-go/opentelemetry-go/exporters/otlp/otlptrace/otlptracegrpc/internal/observ/dns:/:4317
# URL works, but it has blocked link checkers.
https://dl.acm.org/doi/10.1145/198429.198435
https://pkg.go.dev/google.golang.org/grpc.*internal/resolver
https://golang.org/src/crypto/tls/generate_cert.go
https://github.com/grpc/grpc/blob/.*/doc/naming.md
https://github.com/open-telemetry/opentelemetry-specification/blob/.*
# Fake domains used in otlp options_test.go tests
https?://env\.endpoint.*
https?://env\.metrics\.endpoint.*
https?://env_metrics_endpoint.*
https?://env\.traces\.endpoint.*
https?://env_traces_endpoint.*
https?://someendpoint.*
https?://overrode\.by\.signal\.specific.*
https?://overrode_by_signal_specific.*
https?://proxy\.com.*