You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-08-10 22:31:50 +02:00
all: match go conventions for generated code (#6731)
Go documents the following regex pattern for identifying generated code: ^// Code generated .* DO NOT EDIT\.$ This convention is used go APIs and tooling. References: https://pkg.go.dev/go/ast#IsGenerated https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source Co-authored-by: Damien Mathieu <42@dmathieu.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/doc.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/env.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/env_test.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/errors.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/harness.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/text_map_carrier.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/text_map_carrier_test.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/text_map_propagator.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/internaltest/text_map_propagator_test.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/matchers/expectation.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/matchers/expecter.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Code created by gotmpl. DO NOT MODIFY.
|
||||
// Code generated by gotmpl. DO NOT MODIFY.
|
||||
// source: internal/shared/matchers/temporal_matcher.go.tmpl
|
||||
|
||||
// Copyright The OpenTelemetry Authors
|
||||
|
Reference in New Issue
Block a user