diff --git a/bridge/opencensus/internal/ocmetric/metric.go b/bridge/opencensus/internal/ocmetric/metric.go index 4b76dd0b668..575e99abe75 100644 --- a/bridge/opencensus/internal/ocmetric/metric.go +++ b/bridge/opencensus/internal/ocmetric/metric.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/bridge/opencensus/internal/ocmetric" import ( diff --git a/bridge/opencensus/internal/ocmetric/metric_test.go b/bridge/opencensus/internal/ocmetric/metric_test.go index 4088972cc3f..b93bc413088 100644 --- a/bridge/opencensus/internal/ocmetric/metric_test.go +++ b/bridge/opencensus/internal/ocmetric/metric_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/bridge/opencensus/opencensusmetric/internal" import ( diff --git a/example/prometheus/main.go b/example/prometheus/main.go index fada742d32b..0517da33c2f 100644 --- a/example/prometheus/main.go +++ b/example/prometheus/main.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package main import ( diff --git a/exporters/otlp/otlpmetric/client.go b/exporters/otlp/otlpmetric/client.go index 48b0fe805e2..9bcbab44f48 100644 --- a/exporters/otlp/otlpmetric/client.go +++ b/exporters/otlp/otlpmetric/client.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric" import ( diff --git a/exporters/otlp/otlpmetric/exporter.go b/exporters/otlp/otlpmetric/exporter.go index 0bd546e5255..2967a5f7b24 100644 --- a/exporters/otlp/otlpmetric/exporter.go +++ b/exporters/otlp/otlpmetric/exporter.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric" import ( diff --git a/exporters/otlp/otlpmetric/exporter_test.go b/exporters/otlp/otlpmetric/exporter_test.go index 0b673f50031..fd644140d37 100644 --- a/exporters/otlp/otlpmetric/exporter_test.go +++ b/exporters/otlp/otlpmetric/exporter_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetric // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric" import ( diff --git a/exporters/otlp/otlpmetric/internal/otest/client.go b/exporters/otlp/otlpmetric/internal/otest/client.go index 2ade400522d..35939664999 100644 --- a/exporters/otlp/otlpmetric/internal/otest/client.go +++ b/exporters/otlp/otlpmetric/internal/otest/client.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest" import ( diff --git a/exporters/otlp/otlpmetric/internal/otest/client_test.go b/exporters/otlp/otlpmetric/internal/otest/client_test.go index 1f4aac5610d..09f98ee809b 100644 --- a/exporters/otlp/otlpmetric/internal/otest/client_test.go +++ b/exporters/otlp/otlpmetric/internal/otest/client_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest" import ( diff --git a/exporters/otlp/otlpmetric/internal/otest/collector.go b/exporters/otlp/otlpmetric/internal/otest/collector.go index 3302c8cfc2a..f49355f9f39 100644 --- a/exporters/otlp/otlpmetric/internal/otest/collector.go +++ b/exporters/otlp/otlpmetric/internal/otest/collector.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest" import ( diff --git a/exporters/otlp/otlpmetric/internal/transform/attribute.go b/exporters/otlp/otlpmetric/internal/transform/attribute.go index 504256ee7b2..d382fac3576 100644 --- a/exporters/otlp/otlpmetric/internal/transform/attribute.go +++ b/exporters/otlp/otlpmetric/internal/transform/attribute.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" import ( diff --git a/exporters/otlp/otlpmetric/internal/transform/attribute_test.go b/exporters/otlp/otlpmetric/internal/transform/attribute_test.go index 6ca20fdbafd..1dbe674951c 100644 --- a/exporters/otlp/otlpmetric/internal/transform/attribute_test.go +++ b/exporters/otlp/otlpmetric/internal/transform/attribute_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" import ( diff --git a/exporters/otlp/otlpmetric/internal/transform/error.go b/exporters/otlp/otlpmetric/internal/transform/error.go index 8a8b49a63a3..d98f8e082c9 100644 --- a/exporters/otlp/otlpmetric/internal/transform/error.go +++ b/exporters/otlp/otlpmetric/internal/transform/error.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" import ( diff --git a/exporters/otlp/otlpmetric/internal/transform/error_test.go b/exporters/otlp/otlpmetric/internal/transform/error_test.go index f366fc48724..4f407c1b7ab 100644 --- a/exporters/otlp/otlpmetric/internal/transform/error_test.go +++ b/exporters/otlp/otlpmetric/internal/transform/error_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" import ( diff --git a/exporters/otlp/otlpmetric/internal/transform/metricdata.go b/exporters/otlp/otlpmetric/internal/transform/metricdata.go index 38ad617fd6a..70c4f025564 100644 --- a/exporters/otlp/otlpmetric/internal/transform/metricdata.go +++ b/exporters/otlp/otlpmetric/internal/transform/metricdata.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" import ( diff --git a/exporters/otlp/otlpmetric/internal/transform/metricdata_test.go b/exporters/otlp/otlpmetric/internal/transform/metricdata_test.go index e9745da7b7f..012aaea52a9 100644 --- a/exporters/otlp/otlpmetric/internal/transform/metricdata_test.go +++ b/exporters/otlp/otlpmetric/internal/transform/metricdata_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package transform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform" import ( diff --git a/exporters/otlp/otlpmetric/otlpmetricgrpc/client.go b/exporters/otlp/otlpmetric/otlpmetricgrpc/client.go index 44ad5e2fc0e..4c5beb8f384 100644 --- a/exporters/otlp/otlpmetric/otlpmetricgrpc/client.go +++ b/exporters/otlp/otlpmetric/otlpmetricgrpc/client.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" import ( diff --git a/exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go b/exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go index e78e91f5396..1cb8cd815e3 100644 --- a/exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go +++ b/exporters/otlp/otlpmetric/otlpmetricgrpc/client_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetricgrpc import ( diff --git a/exporters/otlp/otlpmetric/otlpmetricgrpc/config.go b/exporters/otlp/otlpmetric/otlpmetricgrpc/config.go index d838420d03f..5f7a66e559e 100644 --- a/exporters/otlp/otlpmetric/otlpmetricgrpc/config.go +++ b/exporters/otlp/otlpmetric/otlpmetricgrpc/config.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetricgrpc // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" import ( diff --git a/exporters/otlp/otlpmetric/otlpmetricgrpc/example_test.go b/exporters/otlp/otlpmetric/otlpmetricgrpc/example_test.go index 8ac22bb2c72..f7630760678 100644 --- a/exporters/otlp/otlpmetric/otlpmetricgrpc/example_test.go +++ b/exporters/otlp/otlpmetric/otlpmetricgrpc/example_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetricgrpc_test import ( diff --git a/exporters/otlp/otlpmetric/otlpmetrichttp/client.go b/exporters/otlp/otlpmetric/otlpmetrichttp/client.go index 1bfebc6fbd6..7a8d7e14707 100644 --- a/exporters/otlp/otlpmetric/otlpmetrichttp/client.go +++ b/exporters/otlp/otlpmetric/otlpmetrichttp/client.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" import ( diff --git a/exporters/otlp/otlpmetric/otlpmetrichttp/client_test.go b/exporters/otlp/otlpmetric/otlpmetrichttp/client_test.go index 7d6aa912737..22740252b02 100644 --- a/exporters/otlp/otlpmetric/otlpmetrichttp/client_test.go +++ b/exporters/otlp/otlpmetric/otlpmetrichttp/client_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetrichttp import ( diff --git a/exporters/otlp/otlpmetric/otlpmetrichttp/config.go b/exporters/otlp/otlpmetric/otlpmetrichttp/config.go index 6228b1f7fa2..c320c25d406 100644 --- a/exporters/otlp/otlpmetric/otlpmetrichttp/config.go +++ b/exporters/otlp/otlpmetric/otlpmetrichttp/config.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetrichttp // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" import ( diff --git a/exporters/otlp/otlpmetric/otlpmetrichttp/example_test.go b/exporters/otlp/otlpmetric/otlpmetrichttp/example_test.go index 8cae38d0ef7..d3397167c70 100644 --- a/exporters/otlp/otlpmetric/otlpmetrichttp/example_test.go +++ b/exporters/otlp/otlpmetric/otlpmetrichttp/example_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package otlpmetrichttp_test import ( diff --git a/exporters/prometheus/exporter.go b/exporters/prometheus/exporter.go index a548de3523c..498b90eb28b 100644 --- a/exporters/prometheus/exporter.go +++ b/exporters/prometheus/exporter.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package prometheus // import "go.opentelemetry.io/otel/exporters/prometheus" import ( diff --git a/exporters/prometheus/exporter_test.go b/exporters/prometheus/exporter_test.go index 32733a7a81c..461b9d7098d 100644 --- a/exporters/prometheus/exporter_test.go +++ b/exporters/prometheus/exporter_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package prometheus import ( diff --git a/exporters/stdout/stdoutmetric/config.go b/exporters/stdout/stdoutmetric/config.go index 63ba9fc592e..c2f02da1ecf 100644 --- a/exporters/stdout/stdoutmetric/config.go +++ b/exporters/stdout/stdoutmetric/config.go @@ -11,9 +11,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" import ( diff --git a/exporters/stdout/stdoutmetric/encoder.go b/exporters/stdout/stdoutmetric/encoder.go index ab5510afcbe..bb5c8c3f694 100644 --- a/exporters/stdout/stdoutmetric/encoder.go +++ b/exporters/stdout/stdoutmetric/encoder.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" import "errors" diff --git a/exporters/stdout/stdoutmetric/example_test.go b/exporters/stdout/stdoutmetric/example_test.go index e8ea9310b46..5bbf8c6faa0 100644 --- a/exporters/stdout/stdoutmetric/example_test.go +++ b/exporters/stdout/stdoutmetric/example_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package stdoutmetric_test import ( diff --git a/exporters/stdout/stdoutmetric/exporter.go b/exporters/stdout/stdoutmetric/exporter.go index f7976d5993f..fef517fa833 100644 --- a/exporters/stdout/stdoutmetric/exporter.go +++ b/exporters/stdout/stdoutmetric/exporter.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package stdoutmetric // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" import ( diff --git a/exporters/stdout/stdoutmetric/exporter_test.go b/exporters/stdout/stdoutmetric/exporter_test.go index 9e8faa3e8ec..fa2a05401e8 100644 --- a/exporters/stdout/stdoutmetric/exporter_test.go +++ b/exporters/stdout/stdoutmetric/exporter_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package stdoutmetric_test // import "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" import ( diff --git a/sdk/metric/config.go b/sdk/metric/config.go index 83ae6565410..a1253334505 100644 --- a/sdk/metric/config.go +++ b/sdk/metric/config.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/config_test.go b/sdk/metric/config_test.go index be3aa55fb16..ad88d6b9ff5 100644 --- a/sdk/metric/config_test.go +++ b/sdk/metric/config_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric import ( diff --git a/sdk/metric/example_test.go b/sdk/metric/example_test.go index eabe781738a..33a6b27a412 100644 --- a/sdk/metric/example_test.go +++ b/sdk/metric/example_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric_test import ( diff --git a/sdk/metric/exporter.go b/sdk/metric/exporter.go index 309381fe8d3..79257db0fc6 100644 --- a/sdk/metric/exporter.go +++ b/sdk/metric/exporter.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/instrument.go b/sdk/metric/instrument.go index 19f3840887a..5e7b457ab7f 100644 --- a/sdk/metric/instrument.go +++ b/sdk/metric/instrument.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/instrument_provider.go b/sdk/metric/instrument_provider.go index fd79aa74d91..ad215a853b2 100644 --- a/sdk/metric/instrument_provider.go +++ b/sdk/metric/instrument_provider.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/internal/aggregator.go b/sdk/metric/internal/aggregator.go index e9068a4b936..1f70ae7c1ee 100644 --- a/sdk/metric/internal/aggregator.go +++ b/sdk/metric/internal/aggregator.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/aggregator_example_test.go b/sdk/metric/internal/aggregator_example_test.go index dc4a0cd499e..16ca8a44451 100644 --- a/sdk/metric/internal/aggregator_example_test.go +++ b/sdk/metric/internal/aggregator_example_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal import ( diff --git a/sdk/metric/internal/aggregator_test.go b/sdk/metric/internal/aggregator_test.go index e93d643b642..200d3da6268 100644 --- a/sdk/metric/internal/aggregator_test.go +++ b/sdk/metric/internal/aggregator_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/filter.go b/sdk/metric/internal/filter.go index 2407d016e90..8acbdc79a02 100644 --- a/sdk/metric/internal/filter.go +++ b/sdk/metric/internal/filter.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/filter_test.go b/sdk/metric/internal/filter_test.go index 8ce2747a375..14f572a5f8e 100644 --- a/sdk/metric/internal/filter_test.go +++ b/sdk/metric/internal/filter_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/histogram.go b/sdk/metric/internal/histogram.go index e5298e22d6f..b04b71baf12 100644 --- a/sdk/metric/internal/histogram.go +++ b/sdk/metric/internal/histogram.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/histogram_test.go b/sdk/metric/internal/histogram_test.go index edeaf8a6945..5b18d8eee4a 100644 --- a/sdk/metric/internal/histogram_test.go +++ b/sdk/metric/internal/histogram_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/lastvalue.go b/sdk/metric/internal/lastvalue.go index 48e1b426c76..d5ee3b009ba 100644 --- a/sdk/metric/internal/lastvalue.go +++ b/sdk/metric/internal/lastvalue.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/lastvalue_test.go b/sdk/metric/internal/lastvalue_test.go index 41b75877fe3..3f84af14304 100644 --- a/sdk/metric/internal/lastvalue_test.go +++ b/sdk/metric/internal/lastvalue_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/sum.go b/sdk/metric/internal/sum.go index b80dcd9c40b..da8bf34de82 100644 --- a/sdk/metric/internal/sum.go +++ b/sdk/metric/internal/sum.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/internal/sum_test.go b/sdk/metric/internal/sum_test.go index 668afd1a022..8a838d3f23c 100644 --- a/sdk/metric/internal/sum_test.go +++ b/sdk/metric/internal/sum_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package internal // import "go.opentelemetry.io/otel/sdk/metric/internal" import ( diff --git a/sdk/metric/manual_reader.go b/sdk/metric/manual_reader.go index ec985332188..ad932be793b 100644 --- a/sdk/metric/manual_reader.go +++ b/sdk/metric/manual_reader.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/manual_reader_test.go b/sdk/metric/manual_reader_test.go index 58b1a85cb1d..7d54be113c1 100644 --- a/sdk/metric/manual_reader_test.go +++ b/sdk/metric/manual_reader_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric/reader" import ( diff --git a/sdk/metric/meter.go b/sdk/metric/meter.go index 4f51c03308b..c38777b69d5 100644 --- a/sdk/metric/meter.go +++ b/sdk/metric/meter.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/meter_test.go b/sdk/metric/meter_test.go index 8efcbd6b261..72e67ba021b 100644 --- a/sdk/metric/meter_test.go +++ b/sdk/metric/meter_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric import ( diff --git a/sdk/metric/metricdata/data.go b/sdk/metric/metricdata/data.go index effaf71c73a..a729879e673 100644 --- a/sdk/metric/metricdata/data.go +++ b/sdk/metric/metricdata/data.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metricdata // import "go.opentelemetry.io/otel/sdk/metric/metricdata" import ( diff --git a/sdk/metric/metricdata/metricdatatest/assertion.go b/sdk/metric/metricdata/metricdatatest/assertion.go index 4c519d15d49..1e52cfea107 100644 --- a/sdk/metric/metricdata/metricdatatest/assertion.go +++ b/sdk/metric/metricdata/metricdatatest/assertion.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - // Package metricdatatest provides testing functionality for use with the // metricdata package. package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" diff --git a/sdk/metric/metricdata/metricdatatest/assertion_fail_test.go b/sdk/metric/metricdata/metricdatatest/assertion_fail_test.go index fffbe6421be..4c608e4a2c9 100644 --- a/sdk/metric/metricdata/metricdatatest/assertion_fail_test.go +++ b/sdk/metric/metricdata/metricdatatest/assertion_fail_test.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 && tests_fail -// +build go1.18,tests_fail +//go:build tests_fail +// +build tests_fail package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" diff --git a/sdk/metric/metricdata/metricdatatest/assertion_test.go b/sdk/metric/metricdata/metricdatatest/assertion_test.go index 71331f5a945..3935ed15091 100644 --- a/sdk/metric/metricdata/metricdatatest/assertion_test.go +++ b/sdk/metric/metricdata/metricdatatest/assertion_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" import ( diff --git a/sdk/metric/metricdata/metricdatatest/comparisons.go b/sdk/metric/metricdata/metricdatatest/comparisons.go index 4c40f3bf67d..841c03b12e0 100644 --- a/sdk/metric/metricdata/metricdatatest/comparisons.go +++ b/sdk/metric/metricdata/metricdatatest/comparisons.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metricdatatest // import "go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest" import ( diff --git a/sdk/metric/periodic_reader.go b/sdk/metric/periodic_reader.go index 9c66ac5d552..cd729eff32e 100644 --- a/sdk/metric/periodic_reader.go +++ b/sdk/metric/periodic_reader.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/periodic_reader_test.go b/sdk/metric/periodic_reader_test.go index 5689aa11b85..8ea2f9ffc91 100644 --- a/sdk/metric/periodic_reader_test.go +++ b/sdk/metric/periodic_reader_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/pipeline.go b/sdk/metric/pipeline.go index d4f7d4f8082..60e147d25e7 100644 --- a/sdk/metric/pipeline.go +++ b/sdk/metric/pipeline.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/pipeline_registry_test.go b/sdk/metric/pipeline_registry_test.go index d4e47f35eb5..3455269fa81 100644 --- a/sdk/metric/pipeline_registry_test.go +++ b/sdk/metric/pipeline_registry_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/pipeline_test.go b/sdk/metric/pipeline_test.go index 91134fec517..52183360fd3 100644 --- a/sdk/metric/pipeline_test.go +++ b/sdk/metric/pipeline_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/provider.go b/sdk/metric/provider.go index 7f8f32bf104..481547d7062 100644 --- a/sdk/metric/provider.go +++ b/sdk/metric/provider.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/provider_test.go b/sdk/metric/provider_test.go index aefb23f8690..7aa639f5df2 100644 --- a/sdk/metric/provider_test.go +++ b/sdk/metric/provider_test.go @@ -4,7 +4,7 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric import ( diff --git a/sdk/metric/reader.go b/sdk/metric/reader.go index ff5f987070d..bf596c27887 100644 --- a/sdk/metric/reader.go +++ b/sdk/metric/reader.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric" import ( diff --git a/sdk/metric/reader_test.go b/sdk/metric/reader_test.go index 630d11a869b..f005ada472f 100644 --- a/sdk/metric/reader_test.go +++ b/sdk/metric/reader_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package metric // import "go.opentelemetry.io/otel/sdk/metric/reader" import ( diff --git a/sdk/metric/view/example_test.go b/sdk/metric/view/example_test.go index bf2480055fc..76d99df6d45 100644 --- a/sdk/metric/view/example_test.go +++ b/sdk/metric/view/example_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package view // import "go.opentelemetry.io/otel/sdk/metric/view" import ( diff --git a/sdk/metric/view/instrument.go b/sdk/metric/view/instrument.go index e024b37a6ff..b9f0b9de708 100644 --- a/sdk/metric/view/instrument.go +++ b/sdk/metric/view/instrument.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package view // import "go.opentelemetry.io/otel/sdk/metric/view" import ( diff --git a/sdk/metric/view/instrumentkind.go b/sdk/metric/view/instrumentkind.go index d5fc67953f9..0ac2acd56bc 100644 --- a/sdk/metric/view/instrumentkind.go +++ b/sdk/metric/view/instrumentkind.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package view // import "go.opentelemetry.io/otel/sdk/metric/view" // InstrumentKind describes the kind of instrument a Meter can create. diff --git a/sdk/metric/view/view.go b/sdk/metric/view/view.go index 946d7755230..c6f2001870e 100644 --- a/sdk/metric/view/view.go +++ b/sdk/metric/view/view.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package view // import "go.opentelemetry.io/otel/sdk/metric/view" import ( diff --git a/sdk/metric/view/view_test.go b/sdk/metric/view/view_test.go index c461bf14a9b..92034345926 100644 --- a/sdk/metric/view/view_test.go +++ b/sdk/metric/view/view_test.go @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build go1.18 -// +build go1.18 - package view // import "go.opentelemetry.io/otel/sdk/metric/view" import (