diff --git a/Makefile b/Makefile index 8e3a27179e0..97955c0e5a2 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ lint: misspell lint-modules | $(GOLANGCI_LINT) .PHONY: vanity-import-check vanity-import-check: | $(PORTO) - $(PORTO) -l . + $(PORTO) --include-internal -l . .PHONY: misspell misspell: | $(MISSPELL) diff --git a/bridge/opencensus/internal/handler.go b/bridge/opencensus/internal/handler.go index 2d6a5160049..6bf5496169d 100644 --- a/bridge/opencensus/internal/handler.go +++ b/bridge/opencensus/internal/handler.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "go.opentelemetry.io/otel/bridge/opencensus/internal" import "go.opentelemetry.io/otel" diff --git a/bridge/opencensus/internal/oc2otel/attributes.go b/bridge/opencensus/internal/oc2otel/attributes.go index aea7f42693c..3e1cebdb800 100644 --- a/bridge/opencensus/internal/oc2otel/attributes.go +++ b/bridge/opencensus/internal/oc2otel/attributes.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oc2otel +package oc2otel // import "go.opentelemetry.io/otel/bridge/opencensus/internal/oc2otel" import ( octrace "go.opencensus.io/trace" diff --git a/bridge/opencensus/internal/oc2otel/span_context.go b/bridge/opencensus/internal/oc2otel/span_context.go index 32c120c7b55..006226f30ab 100644 --- a/bridge/opencensus/internal/oc2otel/span_context.go +++ b/bridge/opencensus/internal/oc2otel/span_context.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oc2otel +package oc2otel // import "go.opentelemetry.io/otel/bridge/opencensus/internal/oc2otel" import ( octrace "go.opencensus.io/trace" diff --git a/bridge/opencensus/internal/oc2otel/tracer_start_options.go b/bridge/opencensus/internal/oc2otel/tracer_start_options.go index b867329103d..030df047f35 100644 --- a/bridge/opencensus/internal/oc2otel/tracer_start_options.go +++ b/bridge/opencensus/internal/oc2otel/tracer_start_options.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package oc2otel +package oc2otel // import "go.opentelemetry.io/otel/bridge/opencensus/internal/oc2otel" import ( "fmt" diff --git a/bridge/opencensus/internal/otel2oc/span_context.go b/bridge/opencensus/internal/otel2oc/span_context.go index a9bbf2c68f9..6355eb555fb 100644 --- a/bridge/opencensus/internal/otel2oc/span_context.go +++ b/bridge/opencensus/internal/otel2oc/span_context.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otel2oc +package otel2oc // import "go.opentelemetry.io/otel/bridge/opencensus/internal/otel2oc" import ( octrace "go.opencensus.io/trace" diff --git a/bridge/opencensus/internal/span.go b/bridge/opencensus/internal/span.go index 0f8533d9fe6..21449aa3d3a 100644 --- a/bridge/opencensus/internal/span.go +++ b/bridge/opencensus/internal/span.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "go.opentelemetry.io/otel/bridge/opencensus/internal" import ( "fmt" diff --git a/bridge/opencensus/internal/tracer.go b/bridge/opencensus/internal/tracer.go index 8590933a2b9..4ed70a30afe 100644 --- a/bridge/opencensus/internal/tracer.go +++ b/bridge/opencensus/internal/tracer.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "go.opentelemetry.io/otel/bridge/opencensus/internal" import ( "context" diff --git a/bridge/opentracing/internal/mock.go b/bridge/opentracing/internal/mock.go index 7a027c9df6a..8409c167a95 100644 --- a/bridge/opentracing/internal/mock.go +++ b/bridge/opentracing/internal/mock.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "go.opentelemetry.io/otel/bridge/opentracing/internal" import ( "context" diff --git a/exporters/otlp/otlpmetric/internal/connection/connection.go b/exporters/otlp/otlpmetric/internal/connection/connection.go index 4ace51f2201..3e6a938f8c6 100644 --- a/exporters/otlp/otlpmetric/internal/connection/connection.go +++ b/exporters/otlp/otlpmetric/internal/connection/connection.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package connection +package connection // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/connection" import ( "context" diff --git a/exporters/otlp/otlpmetric/internal/metrictransform/attribute.go b/exporters/otlp/otlpmetric/internal/metrictransform/attribute.go index 69be6f931d1..0414bf5261f 100644 --- a/exporters/otlp/otlpmetric/internal/metrictransform/attribute.go +++ b/exporters/otlp/otlpmetric/internal/metrictransform/attribute.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrictransform +package metrictransform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/metrictransform" import ( "go.opentelemetry.io/otel/attribute" diff --git a/exporters/otlp/otlpmetric/internal/metrictransform/metric.go b/exporters/otlp/otlpmetric/internal/metrictransform/metric.go index 03f55fad873..5358e9ab7f7 100644 --- a/exporters/otlp/otlpmetric/internal/metrictransform/metric.go +++ b/exporters/otlp/otlpmetric/internal/metrictransform/metric.go @@ -14,7 +14,7 @@ // Package transform provides translations for opentelemetry-go concepts and // structures to otlp structures. -package metrictransform +package metrictransform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/metrictransform" import ( "context" diff --git a/exporters/otlp/otlpmetric/internal/metrictransform/resource.go b/exporters/otlp/otlpmetric/internal/metrictransform/resource.go index c4a38be12e5..e8622d794b7 100644 --- a/exporters/otlp/otlpmetric/internal/metrictransform/resource.go +++ b/exporters/otlp/otlpmetric/internal/metrictransform/resource.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metrictransform +package metrictransform // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/metrictransform" import ( resourcepb "go.opentelemetry.io/proto/otlp/resource/v1" diff --git a/exporters/otlp/otlpmetric/internal/otlpconfig/envconfig.go b/exporters/otlp/otlpmetric/internal/otlpconfig/envconfig.go index 5942905a140..17d0e71bc97 100644 --- a/exporters/otlp/otlpmetric/internal/otlpconfig/envconfig.go +++ b/exporters/otlp/otlpmetric/internal/otlpconfig/envconfig.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpconfig +package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpconfig" import ( "crypto/tls" diff --git a/exporters/otlp/otlpmetric/internal/otlpconfig/options.go b/exporters/otlp/otlpmetric/internal/otlpconfig/options.go index b5fb9ce2e67..4a9c326f412 100644 --- a/exporters/otlp/otlpmetric/internal/otlpconfig/options.go +++ b/exporters/otlp/otlpmetric/internal/otlpconfig/options.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/internal/otlpconfig" +package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpconfig" import ( "crypto/tls" diff --git a/exporters/otlp/otlpmetric/internal/otlpconfig/tls.go b/exporters/otlp/otlpmetric/internal/otlpconfig/tls.go index c7cc31457ee..ae2b03c4473 100644 --- a/exporters/otlp/otlpmetric/internal/otlpconfig/tls.go +++ b/exporters/otlp/otlpmetric/internal/otlpconfig/tls.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpconfig +package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpconfig" import ( "crypto/tls" diff --git a/exporters/otlp/otlpmetric/internal/otlpmetrictest/client.go b/exporters/otlp/otlpmetric/internal/otlpmetrictest/client.go index f05c28efd88..fb29e3ede90 100644 --- a/exporters/otlp/otlpmetric/internal/otlpmetrictest/client.go +++ b/exporters/otlp/otlpmetric/internal/otlpmetrictest/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpmetrictest +package otlpmetrictest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpmetrictest" import ( "context" diff --git a/exporters/otlp/otlpmetric/internal/otlpmetrictest/collector.go b/exporters/otlp/otlpmetric/internal/otlpmetrictest/collector.go index 26de679eaf2..73b54b9bf2c 100644 --- a/exporters/otlp/otlpmetric/internal/otlpmetrictest/collector.go +++ b/exporters/otlp/otlpmetric/internal/otlpmetrictest/collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpmetrictest +package otlpmetrictest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpmetrictest" import ( collectormetricpb "go.opentelemetry.io/proto/otlp/collector/metrics/v1" diff --git a/exporters/otlp/otlpmetric/internal/otlpmetrictest/data.go b/exporters/otlp/otlpmetric/internal/otlpmetrictest/data.go index 523211b0cef..65f79594ee6 100644 --- a/exporters/otlp/otlpmetric/internal/otlpmetrictest/data.go +++ b/exporters/otlp/otlpmetric/internal/otlpmetrictest/data.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpmetrictest +package otlpmetrictest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpmetrictest" import ( "context" diff --git a/exporters/otlp/otlpmetric/internal/otlpmetrictest/otlptest.go b/exporters/otlp/otlpmetric/internal/otlpmetrictest/otlptest.go index fc9adac15ab..3a65ef099ef 100644 --- a/exporters/otlp/otlpmetric/internal/otlpmetrictest/otlptest.go +++ b/exporters/otlp/otlpmetric/internal/otlpmetrictest/otlptest.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpmetrictest +package otlpmetrictest // import "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otlpmetrictest" import ( "context" diff --git a/exporters/otlp/otlptrace/internal/connection/connection.go b/exporters/otlp/otlptrace/internal/connection/connection.go index 67e06888c89..6747803945f 100644 --- a/exporters/otlp/otlptrace/internal/connection/connection.go +++ b/exporters/otlp/otlptrace/internal/connection/connection.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package connection +package connection // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/connection" import ( "context" diff --git a/exporters/otlp/otlptrace/internal/otlpconfig/envconfig.go b/exporters/otlp/otlptrace/internal/otlpconfig/envconfig.go index 942d5759624..352a88206da 100644 --- a/exporters/otlp/otlptrace/internal/otlpconfig/envconfig.go +++ b/exporters/otlp/otlptrace/internal/otlpconfig/envconfig.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpconfig +package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig" import ( "crypto/tls" diff --git a/exporters/otlp/otlptrace/internal/otlpconfig/tls.go b/exporters/otlp/otlptrace/internal/otlpconfig/tls.go index 19fdb2f6b2a..7287cf6cfeb 100644 --- a/exporters/otlp/otlptrace/internal/otlpconfig/tls.go +++ b/exporters/otlp/otlptrace/internal/otlpconfig/tls.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlpconfig +package otlpconfig // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig" import ( "crypto/tls" diff --git a/exporters/otlp/otlptrace/internal/otlptracetest/client.go b/exporters/otlp/otlptrace/internal/otlptracetest/client.go index 70edfa0d9cb..c4ae388acb7 100644 --- a/exporters/otlp/otlptrace/internal/otlptracetest/client.go +++ b/exporters/otlp/otlptrace/internal/otlptracetest/client.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlptracetest +package otlptracetest // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetest" import ( "context" diff --git a/exporters/otlp/otlptrace/internal/otlptracetest/collector.go b/exporters/otlp/otlptrace/internal/otlptracetest/collector.go index 0a9c405c5ba..992f9de2eab 100644 --- a/exporters/otlp/otlptrace/internal/otlptracetest/collector.go +++ b/exporters/otlp/otlptrace/internal/otlptracetest/collector.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlptracetest +package otlptracetest // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetest" import ( "sort" diff --git a/exporters/otlp/otlptrace/internal/otlptracetest/data.go b/exporters/otlp/otlptrace/internal/otlptracetest/data.go index cf6142e01db..d039105cb29 100644 --- a/exporters/otlp/otlptrace/internal/otlptracetest/data.go +++ b/exporters/otlp/otlptrace/internal/otlptracetest/data.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlptracetest +package otlptracetest // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetest" import ( "time" diff --git a/exporters/otlp/otlptrace/internal/otlptracetest/otlptest.go b/exporters/otlp/otlptrace/internal/otlptracetest/otlptest.go index 28b10db6973..e524219e94e 100644 --- a/exporters/otlp/otlptrace/internal/otlptracetest/otlptest.go +++ b/exporters/otlp/otlptrace/internal/otlptracetest/otlptest.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package otlptracetest +package otlptracetest // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetest" import ( "context" diff --git a/exporters/otlp/otlptrace/internal/retry/retry.go b/exporters/otlp/otlptrace/internal/retry/retry.go index 4f2d63a4172..37b9dabe5d8 100644 --- a/exporters/otlp/otlptrace/internal/retry/retry.go +++ b/exporters/otlp/otlptrace/internal/retry/retry.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package retry +package retry // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/retry" import ( "context" diff --git a/exporters/otlp/otlptrace/internal/tracetransform/attribute.go b/exporters/otlp/otlptrace/internal/tracetransform/attribute.go index 01579fac7bd..517411b2403 100644 --- a/exporters/otlp/otlptrace/internal/tracetransform/attribute.go +++ b/exporters/otlp/otlptrace/internal/tracetransform/attribute.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracetransform +package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform" import ( "go.opentelemetry.io/otel/attribute" diff --git a/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go b/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go index 81875a57545..25d3c1ba4b7 100644 --- a/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go +++ b/exporters/otlp/otlptrace/internal/tracetransform/instrumentation.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracetransform +package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform" import ( commonpb "go.opentelemetry.io/proto/otlp/common/v1" diff --git a/exporters/otlp/otlptrace/internal/tracetransform/resource.go b/exporters/otlp/otlptrace/internal/tracetransform/resource.go index 018d0fb25dd..c2b17a6b288 100644 --- a/exporters/otlp/otlptrace/internal/tracetransform/resource.go +++ b/exporters/otlp/otlptrace/internal/tracetransform/resource.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracetransform +package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform" import ( resourcepb "go.opentelemetry.io/proto/otlp/resource/v1" diff --git a/exporters/otlp/otlptrace/internal/tracetransform/span.go b/exporters/otlp/otlptrace/internal/tracetransform/span.go index adbba7755f6..09dd7081843 100644 --- a/exporters/otlp/otlptrace/internal/tracetransform/span.go +++ b/exporters/otlp/otlptrace/internal/tracetransform/span.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package tracetransform +package tracetransform // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform" import ( "go.opentelemetry.io/otel/attribute" diff --git a/internal/baggage/baggage.go b/internal/baggage/baggage.go index 87d0af4054c..b96e5408e69 100644 --- a/internal/baggage/baggage.go +++ b/internal/baggage/baggage.go @@ -21,7 +21,7 @@ this need this package would not need to exist and the `go.opentelemetry.io/otel/baggage` package would be the singular place where W3C baggage is handled. */ -package baggage +package baggage // import "go.opentelemetry.io/otel/internal/baggage" // List is the collection of baggage members. The W3C allows for duplicates, // but OpenTelemetry does not, therefore, this is represented as a map. diff --git a/internal/baggage/context.go b/internal/baggage/context.go index 7d8694e8c68..3c2784eea33 100644 --- a/internal/baggage/context.go +++ b/internal/baggage/context.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package baggage +package baggage // import "go.opentelemetry.io/otel/internal/baggage" import "context" diff --git a/internal/global/propagator.go b/internal/global/propagator.go index 1c8b8589b08..06bac35c2fe 100644 --- a/internal/global/propagator.go +++ b/internal/global/propagator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package global +package global // import "go.opentelemetry.io/otel/internal/global" import ( "context" diff --git a/internal/global/state.go b/internal/global/state.go index c553455761a..d6b3e900cd4 100644 --- a/internal/global/state.go +++ b/internal/global/state.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package global +package global // import "go.opentelemetry.io/otel/internal/global" import ( "sync" diff --git a/internal/global/trace.go b/internal/global/trace.go index 11c7c556875..5f008d0982b 100644 --- a/internal/global/trace.go +++ b/internal/global/trace.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package global +package global // import "go.opentelemetry.io/otel/internal/global" /* This file contains the forwarding implementation of the TracerProvider used as diff --git a/internal/internaltest/alignment.go b/internal/internaltest/alignment.go index a814ef685cb..f14208eff96 100644 --- a/internal/internaltest/alignment.go +++ b/internal/internaltest/alignment.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internaltest +package internaltest // import "go.opentelemetry.io/otel/internal/internaltest" /* This file contains common utilities and objects to validate memory alignment diff --git a/internal/internaltest/env.go b/internal/internaltest/env.go index 92af567e8fa..6304d06df92 100644 --- a/internal/internaltest/env.go +++ b/internal/internaltest/env.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internaltest +package internaltest // import "go.opentelemetry.io/otel/internal/internaltest" import ( "os" diff --git a/internal/internaltest/errors.go b/internal/internaltest/errors.go index 8d1e7d13862..462d0f99d8f 100644 --- a/internal/internaltest/errors.go +++ b/internal/internaltest/errors.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internaltest +package internaltest // import "go.opentelemetry.io/otel/internal/internaltest" type TestError string diff --git a/internal/internaltest/text_map_carrier.go b/internal/internaltest/text_map_carrier.go index 198a00230a6..6aa47d9bb1b 100644 --- a/internal/internaltest/text_map_carrier.go +++ b/internal/internaltest/text_map_carrier.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internaltest +package internaltest // import "go.opentelemetry.io/otel/internal/internaltest" import ( "sync" diff --git a/internal/internaltest/text_map_propagator.go b/internal/internaltest/text_map_propagator.go index 76ba80b3a8d..4873e330d02 100644 --- a/internal/internaltest/text_map_propagator.go +++ b/internal/internaltest/text_map_propagator.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internaltest +package internaltest // import "go.opentelemetry.io/otel/internal/internaltest" import ( "context" diff --git a/internal/matchers/expectation.go b/internal/matchers/expectation.go index 12ba787f47a..49200aafee3 100644 --- a/internal/matchers/expectation.go +++ b/internal/matchers/expectation.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package matchers +package matchers // import "go.opentelemetry.io/otel/internal/matchers" import ( "fmt" diff --git a/internal/matchers/expecter.go b/internal/matchers/expecter.go index 7c3b829f23b..60221d5ec05 100644 --- a/internal/matchers/expecter.go +++ b/internal/matchers/expecter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package matchers +package matchers // import "go.opentelemetry.io/otel/internal/matchers" import ( "testing" diff --git a/internal/matchers/temporal_matcher.go b/internal/matchers/temporal_matcher.go index 2fcca088165..75ed7dc0380 100644 --- a/internal/matchers/temporal_matcher.go +++ b/internal/matchers/temporal_matcher.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package matchers +package matchers // import "go.opentelemetry.io/otel/internal/matchers" type TemporalMatcher byte diff --git a/internal/metric/async.go b/internal/metric/async.go index 12ff1feb751..94801b7ff3c 100644 --- a/internal/metric/async.go +++ b/internal/metric/async.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metric +package metric // import "go.opentelemetry.io/otel/internal/metric" import ( "context" diff --git a/internal/metric/global/meter.go b/internal/metric/global/meter.go index c421b14615b..b88fbb13aad 100644 --- a/internal/metric/global/meter.go +++ b/internal/metric/global/meter.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package global +package global // import "go.opentelemetry.io/otel/internal/metric/global" import ( "context" diff --git a/internal/metric/global/metric.go b/internal/metric/global/metric.go index be95ff61449..896c6dd1c30 100644 --- a/internal/metric/global/metric.go +++ b/internal/metric/global/metric.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package global +package global // import "go.opentelemetry.io/otel/internal/metric/global" import ( "sync" diff --git a/internal/rawhelpers.go b/internal/rawhelpers.go index 0d806b1c897..ce7afaa1880 100644 --- a/internal/rawhelpers.go +++ b/internal/rawhelpers.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "go.opentelemetry.io/otel/internal" import ( "math" diff --git a/internal/tools/common.go b/internal/tools/common.go index 7ed489a0b73..525e5adcf3b 100644 --- a/internal/tools/common.go +++ b/internal/tools/common.go @@ -15,7 +15,7 @@ // Package tools provides helper functions used in scripts within the // internal/tools module, as well as imports needed for a build with the // "tools" build tag. -package tools +package tools // import "go.opentelemetry.io/otel/internal/tools" import ( "errors" diff --git a/internal/tools/go.mod b/internal/tools/go.mod index 4f4af92d886..c5f61a493e7 100644 --- a/internal/tools/go.mod +++ b/internal/tools/go.mod @@ -7,7 +7,7 @@ require ( github.com/gogo/protobuf v1.3.2 github.com/golangci/golangci-lint v1.42.1 github.com/itchyny/gojq v0.12.5 - github.com/jcchavezs/porto v0.3.0 + github.com/jcchavezs/porto v0.4.0 github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad go.opentelemetry.io/build-tools/multimod v0.0.0-20210920164323-2ceabab23375 go.opentelemetry.io/build-tools/semconvgen v0.0.0-20210920164323-2ceabab23375 diff --git a/internal/tools/go.sum b/internal/tools/go.sum index e7d6cc0cb4f..cc67e50d70e 100644 --- a/internal/tools/go.sum +++ b/internal/tools/go.sum @@ -409,8 +409,8 @@ github.com/itchyny/timefmt-go v0.1.3 h1:7M3LGVDsqcd0VZH2U+x393obrzZisp7C0uEe921i github.com/itchyny/timefmt-go v0.1.3/go.mod h1:0osSSCQSASBJMsIZnhAaF1C2fCBTJZXrnj37mG8/c+A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/jcchavezs/porto v0.3.0 h1:JSKeMsqexngzHUpiv4NPPADSNBF9bDyavGRDWedzNeM= -github.com/jcchavezs/porto v0.3.0/go.mod h1:fESH0gzDHiutHRdX2hv27ojnOVFco37hg1W6E9EZF4A= +github.com/jcchavezs/porto v0.4.0 h1:Zj7RligrxmDdKGo6fBO2xYAHxEgrVBfs1YAja20WbV4= +github.com/jcchavezs/porto v0.4.0/go.mod h1:fESH0gzDHiutHRdX2hv27ojnOVFco37hg1W6E9EZF4A= github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4= github.com/jgautheron/goconst v1.5.1 h1:HxVbL1MhydKs8R8n/HE5NPvzfaYmQJA3o879lE4+WcM= github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= diff --git a/internal/tools/tools.go b/internal/tools/tools.go index bcb381a780e..2966e7bfd26 100644 --- a/internal/tools/tools.go +++ b/internal/tools/tools.go @@ -15,7 +15,7 @@ //go:build tools // +build tools -package tools +package tools // import "go.opentelemetry.io/otel/internal/tools" import ( _ "github.com/client9/misspell/cmd/misspell" diff --git a/internal/trace/noop/noop.go b/internal/trace/noop/noop.go index 765c21a289c..f8f3c49f0bc 100644 --- a/internal/trace/noop/noop.go +++ b/internal/trace/noop/noop.go @@ -13,7 +13,7 @@ // limitations under the License. // Package noop provides noop tracing implementations for tracer and span. -package noop +package noop // import "go.opentelemetry.io/otel/internal/trace/noop" import ( "context" diff --git a/sdk/internal/sanitize.go b/sdk/internal/sanitize.go index e6d8b7d5998..ff35185569d 100644 --- a/sdk/internal/sanitize.go +++ b/sdk/internal/sanitize.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal +package internal // import "go.opentelemetry.io/otel/sdk/internal" import ( "strings"