From 186c29539f41ce5aa93b732aa70f08d50338164d Mon Sep 17 00:00:00 2001 From: Leon Wang Date: Fri, 5 Feb 2021 01:55:44 +0800 Subject: [PATCH] Fix golint error of package comment form (#1487) Co-authored-by: Tyler Yahn --- bridge/opentracing/doc.go | 2 +- bridge/opentracing/migration/api.go | 2 +- exporters/trace/jaeger/reconnecting_udp_client.go | 1 + sdk/export/trace/tracetest/test.go | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/bridge/opentracing/doc.go b/bridge/opentracing/doc.go index 2747ec03409f..7121e2a6f32a 100644 --- a/bridge/opentracing/doc.go +++ b/bridge/opentracing/doc.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// This package implements a bridge that forwards OpenTracing API +// Package opentracing implements a bridge that forwards OpenTracing API // calls to the OpenTelemetry SDK. // // To use the bridge, first create an OpenTelemetry tracer of diff --git a/bridge/opentracing/migration/api.go b/bridge/opentracing/migration/api.go index c18fcea218bf..9a6b70d9da09 100644 --- a/bridge/opentracing/migration/api.go +++ b/bridge/opentracing/migration/api.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// This package provides interfaces and functions that are useful for +// Package migration provides interfaces and functions that are useful for // providing a cooperation of the OpenTelemetry tracers with the // OpenTracing API. package migration // import "go.opentelemetry.io/otel/bridge/opentracing/migration" diff --git a/exporters/trace/jaeger/reconnecting_udp_client.go b/exporters/trace/jaeger/reconnecting_udp_client.go index bc4fcd3a88a0..1560ee6cc46e 100644 --- a/exporters/trace/jaeger/reconnecting_udp_client.go +++ b/exporters/trace/jaeger/reconnecting_udp_client.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger" import ( diff --git a/sdk/export/trace/tracetest/test.go b/sdk/export/trace/tracetest/test.go index e1bedad6bfbe..923e3f014d49 100644 --- a/sdk/export/trace/tracetest/test.go +++ b/sdk/export/trace/tracetest/test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// tracetest is a testing helper package for the SDK. User can configure no-op or in-memory exporters to verify +// Package tracetest is a testing helper package for the SDK. User can configure no-op or in-memory exporters to verify // different SDK behaviors or custom instrumentation. package tracetest // import "go.opentelemetry.io/otel/sdk/export/trace/tracetest"