From 2af070600d81d72dc981f5068ef9d7b21b01e42f Mon Sep 17 00:00:00 2001 From: Oseme Odigie Date: Wed, 23 Oct 2024 15:54:24 -0400 Subject: [PATCH] fixed formatting issues while running make generate --- cmd/telemetrygen/generated_package_test.go | 3 ++- connector/countconnector/generated_package_test.go | 3 ++- connector/exceptionsconnector/generated_package_test.go | 3 ++- connector/failoverconnector/generated_package_test.go | 3 ++- connector/grafanacloudconnector/generated_package_test.go | 3 ++- connector/otlpjsonconnector/generated_package_test.go | 3 ++- connector/roundrobinconnector/generated_package_test.go | 3 ++- connector/routingconnector/generated_package_test.go | 3 ++- connector/servicegraphconnector/generated_package_test.go | 3 ++- connector/spanmetricsconnector/generated_package_test.go | 3 ++- connector/sumconnector/generated_package_test.go | 3 ++- exporter/alertmanagerexporter/generated_package_test.go | 3 ++- exporter/awscloudwatchlogsexporter/generated_package_test.go | 3 ++- exporter/awskinesisexporter/generated_package_test.go | 3 ++- exporter/awss3exporter/generated_package_test.go | 3 ++- exporter/azuredataexplorerexporter/generated_package_test.go | 3 ++- exporter/carbonexporter/generated_package_test.go | 3 ++- exporter/cassandraexporter/generated_package_test.go | 3 ++- exporter/clickhouseexporter/generated_package_test.go | 3 ++- exporter/coralogixexporter/generated_package_test.go | 3 ++- exporter/dorisexporter/generated_package_test.go | 3 ++- exporter/elasticsearchexporter/generated_package_test.go | 3 ++- exporter/fileexporter/generated_package_test.go | 3 ++- exporter/googlecloudexporter/generated_package_test.go | 3 ++- .../googlemanagedprometheusexporter/generated_package_test.go | 3 ++- exporter/honeycombmarkerexporter/generated_package_test.go | 3 ++- exporter/influxdbexporter/generated_package_test.go | 3 ++- exporter/kafkaexporter/generated_package_test.go | 3 ++- exporter/kineticaexporter/generated_package_test.go | 3 ++- exporter/loadbalancingexporter/generated_package_test.go | 3 ++- exporter/logicmonitorexporter/generated_package_test.go | 3 ++- exporter/logzioexporter/generated_package_test.go | 3 ++- exporter/lokiexporter/generated_package_test.go | 3 ++- exporter/mezmoexporter/generated_package_test.go | 3 ++- exporter/opencensusexporter/generated_package_test.go | 3 ++- exporter/opensearchexporter/generated_package_test.go | 3 ++- exporter/otelarrowexporter/generated_package_test.go | 3 ++- exporter/prometheusexporter/generated_package_test.go | 3 ++- .../prometheusremotewriteexporter/generated_package_test.go | 3 ++- exporter/pulsarexporter/generated_package_test.go | 3 ++- exporter/rabbitmqexporter/generated_package_test.go | 3 ++- exporter/sapmexporter/generated_package_test.go | 3 ++- exporter/sentryexporter/generated_package_test.go | 3 ++- exporter/signalfxexporter/generated_package_test.go | 3 ++- exporter/splunkhecexporter/generated_package_test.go | 3 ++- exporter/sumologicexporter/generated_package_test.go | 3 ++- exporter/syslogexporter/generated_package_test.go | 3 ++- exporter/zipkinexporter/generated_package_test.go | 3 ++- extension/ackextension/generated_package_test.go | 3 ++- extension/basicauthextension/generated_package_test.go | 3 ++- extension/bearertokenauthextension/generated_package_test.go | 3 ++- .../avrologencodingextension/generated_package_test.go | 3 ++- .../encoding/jaegerencodingextension/generated_package_test.go | 3 ++- .../jsonlogencodingextension/generated_package_test.go | 3 ++- .../encoding/otlpencodingextension/generated_package_test.go | 3 ++- .../encoding/textencodingextension/generated_package_test.go | 3 ++- .../encoding/zipkinencodingextension/generated_package_test.go | 3 ++- extension/googleclientauthextension/generated_package_test.go | 3 ++- extension/headerssetterextension/generated_package_test.go | 3 ++- extension/healthcheckextension/generated_package_test.go | 3 ++- extension/healthcheckv2extension/generated_package_test.go | 3 ++- extension/httpforwarderextension/generated_package_test.go | 3 ++- extension/jaegerremotesampling/generated_package_test.go | 3 ++- extension/oauth2clientauthextension/generated_package_test.go | 3 ++- extension/observer/cfgardenobserver/generated_package_test.go | 3 ++- extension/observer/dockerobserver/generated_package_test.go | 3 ++- extension/observer/ecsobserver/generated_package_test.go | 3 ++- extension/observer/ecstaskobserver/generated_package_test.go | 3 ++- extension/observer/hostobserver/generated_package_test.go | 3 ++- extension/observer/k8sobserver/generated_package_test.go | 3 ++- extension/oidcauthextension/generated_package_test.go | 3 ++- extension/opampextension/generated_package_test.go | 3 ++- extension/pprofextension/generated_package_test.go | 3 ++- extension/remotetapextension/generated_package_test.go | 3 ++- extension/sigv4authextension/generated_package_test.go | 3 ++- .../solarwindsapmsettingsextension/generated_package_test.go | 3 ++- extension/storage/dbstorage/generated_package_test.go | 3 ++- extension/storage/filestorage/generated_package_test.go | 3 ++- .../storage/redisstorageextension/generated_package_test.go | 3 ++- extension/sumologicextension/generated_package_test.go | 3 ++- pkg/golden/generated_package_test.go | 3 ++- pkg/kafka/topic/go.mod | 2 +- 82 files changed, 163 insertions(+), 82 deletions(-) diff --git a/cmd/telemetrygen/generated_package_test.go b/cmd/telemetrygen/generated_package_test.go index e5a1c2dcb573..2a21d3c7c86c 100644 --- a/cmd/telemetrygen/generated_package_test.go +++ b/cmd/telemetrygen/generated_package_test.go @@ -3,8 +3,9 @@ package main import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/countconnector/generated_package_test.go b/connector/countconnector/generated_package_test.go index 4fef3453d88d..50b65f5ae373 100644 --- a/connector/countconnector/generated_package_test.go +++ b/connector/countconnector/generated_package_test.go @@ -3,8 +3,9 @@ package countconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/exceptionsconnector/generated_package_test.go b/connector/exceptionsconnector/generated_package_test.go index 73af8e211a60..25a1dfcd281d 100644 --- a/connector/exceptionsconnector/generated_package_test.go +++ b/connector/exceptionsconnector/generated_package_test.go @@ -3,8 +3,9 @@ package exceptionsconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/failoverconnector/generated_package_test.go b/connector/failoverconnector/generated_package_test.go index 18051bbc69ce..c96077a6ac48 100644 --- a/connector/failoverconnector/generated_package_test.go +++ b/connector/failoverconnector/generated_package_test.go @@ -3,8 +3,9 @@ package failoverconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/grafanacloudconnector/generated_package_test.go b/connector/grafanacloudconnector/generated_package_test.go index d274ecffcdfe..d5fd464e328c 100644 --- a/connector/grafanacloudconnector/generated_package_test.go +++ b/connector/grafanacloudconnector/generated_package_test.go @@ -3,8 +3,9 @@ package grafanacloudconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/otlpjsonconnector/generated_package_test.go b/connector/otlpjsonconnector/generated_package_test.go index 277ff3921a21..4b175e766bb3 100644 --- a/connector/otlpjsonconnector/generated_package_test.go +++ b/connector/otlpjsonconnector/generated_package_test.go @@ -3,8 +3,9 @@ package otlpjsonconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/roundrobinconnector/generated_package_test.go b/connector/roundrobinconnector/generated_package_test.go index 746b99e3c3ac..51c1313bda0d 100644 --- a/connector/roundrobinconnector/generated_package_test.go +++ b/connector/roundrobinconnector/generated_package_test.go @@ -3,8 +3,9 @@ package roundrobinconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/routingconnector/generated_package_test.go b/connector/routingconnector/generated_package_test.go index 90c52f4b45da..d3f2521a0ee8 100644 --- a/connector/routingconnector/generated_package_test.go +++ b/connector/routingconnector/generated_package_test.go @@ -3,8 +3,9 @@ package routingconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/servicegraphconnector/generated_package_test.go b/connector/servicegraphconnector/generated_package_test.go index e783872605d5..4333a3b456b8 100644 --- a/connector/servicegraphconnector/generated_package_test.go +++ b/connector/servicegraphconnector/generated_package_test.go @@ -3,8 +3,9 @@ package servicegraphconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/spanmetricsconnector/generated_package_test.go b/connector/spanmetricsconnector/generated_package_test.go index c30e6fbebca5..38b14f8a5947 100644 --- a/connector/spanmetricsconnector/generated_package_test.go +++ b/connector/spanmetricsconnector/generated_package_test.go @@ -3,8 +3,9 @@ package spanmetricsconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/connector/sumconnector/generated_package_test.go b/connector/sumconnector/generated_package_test.go index 2c6d0cb52ca9..6a2e7f1b6171 100644 --- a/connector/sumconnector/generated_package_test.go +++ b/connector/sumconnector/generated_package_test.go @@ -3,8 +3,9 @@ package sumconnector import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/alertmanagerexporter/generated_package_test.go b/exporter/alertmanagerexporter/generated_package_test.go index 52afe7877ed3..42e2310c4721 100644 --- a/exporter/alertmanagerexporter/generated_package_test.go +++ b/exporter/alertmanagerexporter/generated_package_test.go @@ -3,8 +3,9 @@ package alertmanagerexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/awscloudwatchlogsexporter/generated_package_test.go b/exporter/awscloudwatchlogsexporter/generated_package_test.go index a27cbc664124..aee3765c32cb 100644 --- a/exporter/awscloudwatchlogsexporter/generated_package_test.go +++ b/exporter/awscloudwatchlogsexporter/generated_package_test.go @@ -3,8 +3,9 @@ package awscloudwatchlogsexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/awskinesisexporter/generated_package_test.go b/exporter/awskinesisexporter/generated_package_test.go index f16ec811c45d..cf5f034b9066 100644 --- a/exporter/awskinesisexporter/generated_package_test.go +++ b/exporter/awskinesisexporter/generated_package_test.go @@ -3,8 +3,9 @@ package awskinesisexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/awss3exporter/generated_package_test.go b/exporter/awss3exporter/generated_package_test.go index 5c84f386e6d3..ff834e53d2f5 100644 --- a/exporter/awss3exporter/generated_package_test.go +++ b/exporter/awss3exporter/generated_package_test.go @@ -3,8 +3,9 @@ package awss3exporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/azuredataexplorerexporter/generated_package_test.go b/exporter/azuredataexplorerexporter/generated_package_test.go index 81d4cdb2c849..d41fc1bed09f 100644 --- a/exporter/azuredataexplorerexporter/generated_package_test.go +++ b/exporter/azuredataexplorerexporter/generated_package_test.go @@ -3,8 +3,9 @@ package azuredataexplorerexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/carbonexporter/generated_package_test.go b/exporter/carbonexporter/generated_package_test.go index ab46fe006de2..ad22b2364103 100644 --- a/exporter/carbonexporter/generated_package_test.go +++ b/exporter/carbonexporter/generated_package_test.go @@ -3,8 +3,9 @@ package carbonexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/cassandraexporter/generated_package_test.go b/exporter/cassandraexporter/generated_package_test.go index 415d5a8e4a88..1a05dcb0c689 100644 --- a/exporter/cassandraexporter/generated_package_test.go +++ b/exporter/cassandraexporter/generated_package_test.go @@ -3,8 +3,9 @@ package cassandraexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/clickhouseexporter/generated_package_test.go b/exporter/clickhouseexporter/generated_package_test.go index 99f747afdeb2..d58ac8d3e88f 100644 --- a/exporter/clickhouseexporter/generated_package_test.go +++ b/exporter/clickhouseexporter/generated_package_test.go @@ -3,8 +3,9 @@ package clickhouseexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/coralogixexporter/generated_package_test.go b/exporter/coralogixexporter/generated_package_test.go index 8fbd7a23bf66..5bb42b321464 100644 --- a/exporter/coralogixexporter/generated_package_test.go +++ b/exporter/coralogixexporter/generated_package_test.go @@ -3,8 +3,9 @@ package coralogixexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/dorisexporter/generated_package_test.go b/exporter/dorisexporter/generated_package_test.go index da5ab8d3bef0..85cc8c0d8e75 100644 --- a/exporter/dorisexporter/generated_package_test.go +++ b/exporter/dorisexporter/generated_package_test.go @@ -3,8 +3,9 @@ package dorisexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/elasticsearchexporter/generated_package_test.go b/exporter/elasticsearchexporter/generated_package_test.go index 6935dfb48fcb..74793158b2e6 100644 --- a/exporter/elasticsearchexporter/generated_package_test.go +++ b/exporter/elasticsearchexporter/generated_package_test.go @@ -3,8 +3,9 @@ package elasticsearchexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/fileexporter/generated_package_test.go b/exporter/fileexporter/generated_package_test.go index c062542eec6f..a32fb0d65f95 100644 --- a/exporter/fileexporter/generated_package_test.go +++ b/exporter/fileexporter/generated_package_test.go @@ -3,8 +3,9 @@ package fileexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/googlecloudexporter/generated_package_test.go b/exporter/googlecloudexporter/generated_package_test.go index 182886066122..a17e28fd7094 100644 --- a/exporter/googlecloudexporter/generated_package_test.go +++ b/exporter/googlecloudexporter/generated_package_test.go @@ -3,8 +3,9 @@ package googlecloudexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/googlemanagedprometheusexporter/generated_package_test.go b/exporter/googlemanagedprometheusexporter/generated_package_test.go index 488b506b8424..a3634116390c 100644 --- a/exporter/googlemanagedprometheusexporter/generated_package_test.go +++ b/exporter/googlemanagedprometheusexporter/generated_package_test.go @@ -3,8 +3,9 @@ package googlemanagedprometheusexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/honeycombmarkerexporter/generated_package_test.go b/exporter/honeycombmarkerexporter/generated_package_test.go index 1b46a9b88a71..54e00a349b13 100644 --- a/exporter/honeycombmarkerexporter/generated_package_test.go +++ b/exporter/honeycombmarkerexporter/generated_package_test.go @@ -3,8 +3,9 @@ package honeycombmarkerexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/influxdbexporter/generated_package_test.go b/exporter/influxdbexporter/generated_package_test.go index 2df6bb6cc804..f5807c6cd5ca 100644 --- a/exporter/influxdbexporter/generated_package_test.go +++ b/exporter/influxdbexporter/generated_package_test.go @@ -3,8 +3,9 @@ package influxdbexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/kafkaexporter/generated_package_test.go b/exporter/kafkaexporter/generated_package_test.go index e742f96f9f93..e9925c3a3198 100644 --- a/exporter/kafkaexporter/generated_package_test.go +++ b/exporter/kafkaexporter/generated_package_test.go @@ -3,8 +3,9 @@ package kafkaexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/kineticaexporter/generated_package_test.go b/exporter/kineticaexporter/generated_package_test.go index 4b7dbe9f3727..401c389f6981 100644 --- a/exporter/kineticaexporter/generated_package_test.go +++ b/exporter/kineticaexporter/generated_package_test.go @@ -3,8 +3,9 @@ package kineticaexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/loadbalancingexporter/generated_package_test.go b/exporter/loadbalancingexporter/generated_package_test.go index ce601baf11ad..469069df786b 100644 --- a/exporter/loadbalancingexporter/generated_package_test.go +++ b/exporter/loadbalancingexporter/generated_package_test.go @@ -3,8 +3,9 @@ package loadbalancingexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/logicmonitorexporter/generated_package_test.go b/exporter/logicmonitorexporter/generated_package_test.go index 32e042b8f48f..5257b95d8756 100644 --- a/exporter/logicmonitorexporter/generated_package_test.go +++ b/exporter/logicmonitorexporter/generated_package_test.go @@ -3,8 +3,9 @@ package logicmonitorexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/logzioexporter/generated_package_test.go b/exporter/logzioexporter/generated_package_test.go index 34571b199d19..56ab73ca352b 100644 --- a/exporter/logzioexporter/generated_package_test.go +++ b/exporter/logzioexporter/generated_package_test.go @@ -3,8 +3,9 @@ package logzioexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/lokiexporter/generated_package_test.go b/exporter/lokiexporter/generated_package_test.go index 7323c1b58425..72afdfc44296 100644 --- a/exporter/lokiexporter/generated_package_test.go +++ b/exporter/lokiexporter/generated_package_test.go @@ -3,8 +3,9 @@ package lokiexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/mezmoexporter/generated_package_test.go b/exporter/mezmoexporter/generated_package_test.go index 411470dbcac7..90390c468e3a 100644 --- a/exporter/mezmoexporter/generated_package_test.go +++ b/exporter/mezmoexporter/generated_package_test.go @@ -3,8 +3,9 @@ package mezmoexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/opencensusexporter/generated_package_test.go b/exporter/opencensusexporter/generated_package_test.go index 59c118758f81..a1c121129602 100644 --- a/exporter/opencensusexporter/generated_package_test.go +++ b/exporter/opencensusexporter/generated_package_test.go @@ -3,8 +3,9 @@ package opencensusexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/opensearchexporter/generated_package_test.go b/exporter/opensearchexporter/generated_package_test.go index 2b4bf04d5806..6e9e9461712f 100644 --- a/exporter/opensearchexporter/generated_package_test.go +++ b/exporter/opensearchexporter/generated_package_test.go @@ -3,8 +3,9 @@ package opensearchexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/otelarrowexporter/generated_package_test.go b/exporter/otelarrowexporter/generated_package_test.go index 8314a4b32ce5..c19cf02cbd7f 100644 --- a/exporter/otelarrowexporter/generated_package_test.go +++ b/exporter/otelarrowexporter/generated_package_test.go @@ -3,8 +3,9 @@ package otelarrowexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/prometheusexporter/generated_package_test.go b/exporter/prometheusexporter/generated_package_test.go index 96e89735317e..c0021cfca45f 100644 --- a/exporter/prometheusexporter/generated_package_test.go +++ b/exporter/prometheusexporter/generated_package_test.go @@ -3,8 +3,9 @@ package prometheusexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/prometheusremotewriteexporter/generated_package_test.go b/exporter/prometheusremotewriteexporter/generated_package_test.go index 90a9ba58d657..aa7545f2a746 100644 --- a/exporter/prometheusremotewriteexporter/generated_package_test.go +++ b/exporter/prometheusremotewriteexporter/generated_package_test.go @@ -3,8 +3,9 @@ package prometheusremotewriteexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/pulsarexporter/generated_package_test.go b/exporter/pulsarexporter/generated_package_test.go index ac744282b884..d6fed5e663b5 100644 --- a/exporter/pulsarexporter/generated_package_test.go +++ b/exporter/pulsarexporter/generated_package_test.go @@ -3,8 +3,9 @@ package pulsarexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/rabbitmqexporter/generated_package_test.go b/exporter/rabbitmqexporter/generated_package_test.go index 261af17ce6b9..318c83d6b4ae 100644 --- a/exporter/rabbitmqexporter/generated_package_test.go +++ b/exporter/rabbitmqexporter/generated_package_test.go @@ -3,8 +3,9 @@ package rabbitmqexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/sapmexporter/generated_package_test.go b/exporter/sapmexporter/generated_package_test.go index ab88b5c298f6..62ae0f36773d 100644 --- a/exporter/sapmexporter/generated_package_test.go +++ b/exporter/sapmexporter/generated_package_test.go @@ -3,8 +3,9 @@ package sapmexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/sentryexporter/generated_package_test.go b/exporter/sentryexporter/generated_package_test.go index 4887e173736c..db33d4ee58d7 100644 --- a/exporter/sentryexporter/generated_package_test.go +++ b/exporter/sentryexporter/generated_package_test.go @@ -3,8 +3,9 @@ package sentryexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/signalfxexporter/generated_package_test.go b/exporter/signalfxexporter/generated_package_test.go index 5214a85cde55..05bce43252c3 100644 --- a/exporter/signalfxexporter/generated_package_test.go +++ b/exporter/signalfxexporter/generated_package_test.go @@ -3,8 +3,9 @@ package signalfxexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/splunkhecexporter/generated_package_test.go b/exporter/splunkhecexporter/generated_package_test.go index adedc84314c7..b28b53f2ab8a 100644 --- a/exporter/splunkhecexporter/generated_package_test.go +++ b/exporter/splunkhecexporter/generated_package_test.go @@ -3,8 +3,9 @@ package splunkhecexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/sumologicexporter/generated_package_test.go b/exporter/sumologicexporter/generated_package_test.go index 8b3c3db9c7a1..06d9480a812b 100644 --- a/exporter/sumologicexporter/generated_package_test.go +++ b/exporter/sumologicexporter/generated_package_test.go @@ -3,8 +3,9 @@ package sumologicexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/syslogexporter/generated_package_test.go b/exporter/syslogexporter/generated_package_test.go index 0e6e7c8fe9c9..87e99e8d2cdd 100644 --- a/exporter/syslogexporter/generated_package_test.go +++ b/exporter/syslogexporter/generated_package_test.go @@ -3,8 +3,9 @@ package syslogexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/exporter/zipkinexporter/generated_package_test.go b/exporter/zipkinexporter/generated_package_test.go index 97efe3573760..c2a9b2e8fd02 100644 --- a/exporter/zipkinexporter/generated_package_test.go +++ b/exporter/zipkinexporter/generated_package_test.go @@ -3,8 +3,9 @@ package zipkinexporter import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/ackextension/generated_package_test.go b/extension/ackextension/generated_package_test.go index 711c0e928b31..7761a42efd46 100644 --- a/extension/ackextension/generated_package_test.go +++ b/extension/ackextension/generated_package_test.go @@ -3,8 +3,9 @@ package ackextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/basicauthextension/generated_package_test.go b/extension/basicauthextension/generated_package_test.go index 27919b52f479..d8bffc2430cd 100644 --- a/extension/basicauthextension/generated_package_test.go +++ b/extension/basicauthextension/generated_package_test.go @@ -3,8 +3,9 @@ package basicauthextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/bearertokenauthextension/generated_package_test.go b/extension/bearertokenauthextension/generated_package_test.go index d100a38cbf6d..d29262156a6e 100644 --- a/extension/bearertokenauthextension/generated_package_test.go +++ b/extension/bearertokenauthextension/generated_package_test.go @@ -3,8 +3,9 @@ package bearertokenauthextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/encoding/avrologencodingextension/generated_package_test.go b/extension/encoding/avrologencodingextension/generated_package_test.go index 148031f15a69..58ee9b8d2aae 100644 --- a/extension/encoding/avrologencodingextension/generated_package_test.go +++ b/extension/encoding/avrologencodingextension/generated_package_test.go @@ -3,8 +3,9 @@ package avrologencodingextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/encoding/jaegerencodingextension/generated_package_test.go b/extension/encoding/jaegerencodingextension/generated_package_test.go index 3381696966f8..f2ffda79c3da 100644 --- a/extension/encoding/jaegerencodingextension/generated_package_test.go +++ b/extension/encoding/jaegerencodingextension/generated_package_test.go @@ -3,8 +3,9 @@ package jaegerencodingextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/encoding/jsonlogencodingextension/generated_package_test.go b/extension/encoding/jsonlogencodingextension/generated_package_test.go index 6b864887490b..3be4a2678388 100644 --- a/extension/encoding/jsonlogencodingextension/generated_package_test.go +++ b/extension/encoding/jsonlogencodingextension/generated_package_test.go @@ -3,8 +3,9 @@ package jsonlogencodingextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/encoding/otlpencodingextension/generated_package_test.go b/extension/encoding/otlpencodingextension/generated_package_test.go index 6594abd8a516..a3912a08c8a1 100644 --- a/extension/encoding/otlpencodingextension/generated_package_test.go +++ b/extension/encoding/otlpencodingextension/generated_package_test.go @@ -3,8 +3,9 @@ package otlpencodingextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/encoding/textencodingextension/generated_package_test.go b/extension/encoding/textencodingextension/generated_package_test.go index 371fca90466b..66e217f3a4af 100644 --- a/extension/encoding/textencodingextension/generated_package_test.go +++ b/extension/encoding/textencodingextension/generated_package_test.go @@ -3,8 +3,9 @@ package textencodingextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/encoding/zipkinencodingextension/generated_package_test.go b/extension/encoding/zipkinencodingextension/generated_package_test.go index 1a51fab457db..d4970bd3b2a0 100644 --- a/extension/encoding/zipkinencodingextension/generated_package_test.go +++ b/extension/encoding/zipkinencodingextension/generated_package_test.go @@ -3,8 +3,9 @@ package zipkinencodingextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/googleclientauthextension/generated_package_test.go b/extension/googleclientauthextension/generated_package_test.go index 23a1617ac033..cceca0471f66 100644 --- a/extension/googleclientauthextension/generated_package_test.go +++ b/extension/googleclientauthextension/generated_package_test.go @@ -3,8 +3,9 @@ package googleclientauthextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/headerssetterextension/generated_package_test.go b/extension/headerssetterextension/generated_package_test.go index c9c1c08731d8..654fdec6e8ca 100644 --- a/extension/headerssetterextension/generated_package_test.go +++ b/extension/headerssetterextension/generated_package_test.go @@ -3,8 +3,9 @@ package headerssetterextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/healthcheckextension/generated_package_test.go b/extension/healthcheckextension/generated_package_test.go index db362e951bff..1dfd9697fac6 100644 --- a/extension/healthcheckextension/generated_package_test.go +++ b/extension/healthcheckextension/generated_package_test.go @@ -3,8 +3,9 @@ package healthcheckextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/healthcheckv2extension/generated_package_test.go b/extension/healthcheckv2extension/generated_package_test.go index 9f6f23b1f53e..26b21cd166b3 100644 --- a/extension/healthcheckv2extension/generated_package_test.go +++ b/extension/healthcheckv2extension/generated_package_test.go @@ -3,8 +3,9 @@ package healthcheckv2extension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/httpforwarderextension/generated_package_test.go b/extension/httpforwarderextension/generated_package_test.go index b120c0ef2429..6a6393365ecd 100644 --- a/extension/httpforwarderextension/generated_package_test.go +++ b/extension/httpforwarderextension/generated_package_test.go @@ -3,8 +3,9 @@ package httpforwarderextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/jaegerremotesampling/generated_package_test.go b/extension/jaegerremotesampling/generated_package_test.go index 43b5029111c2..5ecef85f4880 100644 --- a/extension/jaegerremotesampling/generated_package_test.go +++ b/extension/jaegerremotesampling/generated_package_test.go @@ -3,8 +3,9 @@ package jaegerremotesampling import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/oauth2clientauthextension/generated_package_test.go b/extension/oauth2clientauthextension/generated_package_test.go index 45da7316397b..9e24f5f208d9 100644 --- a/extension/oauth2clientauthextension/generated_package_test.go +++ b/extension/oauth2clientauthextension/generated_package_test.go @@ -3,8 +3,9 @@ package oauth2clientauthextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/observer/cfgardenobserver/generated_package_test.go b/extension/observer/cfgardenobserver/generated_package_test.go index 9d35c8b9cfb7..e3ca7f9b29c1 100644 --- a/extension/observer/cfgardenobserver/generated_package_test.go +++ b/extension/observer/cfgardenobserver/generated_package_test.go @@ -3,8 +3,9 @@ package cfgardenobserver import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/observer/dockerobserver/generated_package_test.go b/extension/observer/dockerobserver/generated_package_test.go index 9f11928aa1de..219b1d2bfc25 100644 --- a/extension/observer/dockerobserver/generated_package_test.go +++ b/extension/observer/dockerobserver/generated_package_test.go @@ -3,8 +3,9 @@ package dockerobserver import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/observer/ecsobserver/generated_package_test.go b/extension/observer/ecsobserver/generated_package_test.go index 4448daea87bf..a32549e779f9 100644 --- a/extension/observer/ecsobserver/generated_package_test.go +++ b/extension/observer/ecsobserver/generated_package_test.go @@ -3,8 +3,9 @@ package ecsobserver import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/observer/ecstaskobserver/generated_package_test.go b/extension/observer/ecstaskobserver/generated_package_test.go index bc438ca5c648..8eddcaa5677a 100644 --- a/extension/observer/ecstaskobserver/generated_package_test.go +++ b/extension/observer/ecstaskobserver/generated_package_test.go @@ -3,8 +3,9 @@ package ecstaskobserver import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/observer/hostobserver/generated_package_test.go b/extension/observer/hostobserver/generated_package_test.go index 2fa2b0804fc6..f18e31829f70 100644 --- a/extension/observer/hostobserver/generated_package_test.go +++ b/extension/observer/hostobserver/generated_package_test.go @@ -3,8 +3,9 @@ package hostobserver import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/observer/k8sobserver/generated_package_test.go b/extension/observer/k8sobserver/generated_package_test.go index 3a83353c2be8..989f957fd488 100644 --- a/extension/observer/k8sobserver/generated_package_test.go +++ b/extension/observer/k8sobserver/generated_package_test.go @@ -3,8 +3,9 @@ package k8sobserver import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/oidcauthextension/generated_package_test.go b/extension/oidcauthextension/generated_package_test.go index a1134cb6ae96..195328a56d6e 100644 --- a/extension/oidcauthextension/generated_package_test.go +++ b/extension/oidcauthextension/generated_package_test.go @@ -3,8 +3,9 @@ package oidcauthextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/opampextension/generated_package_test.go b/extension/opampextension/generated_package_test.go index 0eaf47cf7e9f..2628ee1f2411 100644 --- a/extension/opampextension/generated_package_test.go +++ b/extension/opampextension/generated_package_test.go @@ -3,8 +3,9 @@ package opampextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/pprofextension/generated_package_test.go b/extension/pprofextension/generated_package_test.go index 273f79ab4b5e..ff7bde5adbef 100644 --- a/extension/pprofextension/generated_package_test.go +++ b/extension/pprofextension/generated_package_test.go @@ -3,8 +3,9 @@ package pprofextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/remotetapextension/generated_package_test.go b/extension/remotetapextension/generated_package_test.go index 978955bbb8c7..5b107f66be70 100644 --- a/extension/remotetapextension/generated_package_test.go +++ b/extension/remotetapextension/generated_package_test.go @@ -3,8 +3,9 @@ package remotetapextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/sigv4authextension/generated_package_test.go b/extension/sigv4authextension/generated_package_test.go index e41f7e5d72f9..c0fd1a7c3d93 100644 --- a/extension/sigv4authextension/generated_package_test.go +++ b/extension/sigv4authextension/generated_package_test.go @@ -3,8 +3,9 @@ package sigv4authextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/solarwindsapmsettingsextension/generated_package_test.go b/extension/solarwindsapmsettingsextension/generated_package_test.go index 4d52d042a5dc..e7c98a89cc14 100644 --- a/extension/solarwindsapmsettingsextension/generated_package_test.go +++ b/extension/solarwindsapmsettingsextension/generated_package_test.go @@ -3,8 +3,9 @@ package solarwindsapmsettingsextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/storage/dbstorage/generated_package_test.go b/extension/storage/dbstorage/generated_package_test.go index 5ee594c37bc7..361dd5e3004e 100644 --- a/extension/storage/dbstorage/generated_package_test.go +++ b/extension/storage/dbstorage/generated_package_test.go @@ -3,8 +3,9 @@ package dbstorage import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/storage/filestorage/generated_package_test.go b/extension/storage/filestorage/generated_package_test.go index 35588f580620..6bfc4cf6f99c 100644 --- a/extension/storage/filestorage/generated_package_test.go +++ b/extension/storage/filestorage/generated_package_test.go @@ -3,8 +3,9 @@ package filestorage import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/storage/redisstorageextension/generated_package_test.go b/extension/storage/redisstorageextension/generated_package_test.go index ad33c0e725c8..5378f0ceecbe 100644 --- a/extension/storage/redisstorageextension/generated_package_test.go +++ b/extension/storage/redisstorageextension/generated_package_test.go @@ -3,8 +3,9 @@ package redisstorageextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/extension/sumologicextension/generated_package_test.go b/extension/sumologicextension/generated_package_test.go index dda4b47f7045..1dd53bc463e6 100644 --- a/extension/sumologicextension/generated_package_test.go +++ b/extension/sumologicextension/generated_package_test.go @@ -3,8 +3,9 @@ package sumologicextension import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/pkg/golden/generated_package_test.go b/pkg/golden/generated_package_test.go index 37c734af08e7..e53731b8ee25 100644 --- a/pkg/golden/generated_package_test.go +++ b/pkg/golden/generated_package_test.go @@ -3,8 +3,9 @@ package golden import ( - "go.uber.org/goleak" "testing" + + "go.uber.org/goleak" ) func TestMain(m *testing.M) { diff --git a/pkg/kafka/topic/go.mod b/pkg/kafka/topic/go.mod index 5c27986a6d6e..7ef117787414 100644 --- a/pkg/kafka/topic/go.mod +++ b/pkg/kafka/topic/go.mod @@ -1,3 +1,3 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/pkg/kafka/topic -go 1.22 +go 1.22.0