Skip to content

Commit

Permalink
chore: adds vanity import for files that don't have it. (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs authored Nov 4, 2020
1 parent 911d7be commit e22a48d
Show file tree
Hide file tree
Showing 87 changed files with 87 additions and 87 deletions.
2 changes: 1 addition & 1 deletion baggage.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion bridge/opentracing/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package opentracing
package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion bridge/opentracing/migration/defer.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package migration
package migration // import "go.opentelemetry.io/otel/bridge/opentracing/migration"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion bridge/opentracing/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package opentracing
package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion bridge/opentracing/wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package opentracing
package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion error_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

// ErrorHandler handles irremediable events.
type ErrorHandler interface {
Expand Down
2 changes: 1 addition & 1 deletion example/namedtracer/foo/foo.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package foo
package foo // import "go.opentelemetry.io/otel/example/namedtracer/foo"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion exporters/metric/prometheus/prometheus.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package prometheus
package prometheus // import "go.opentelemetry.io/otel/exporters/metric/prometheus"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion exporters/metric/prometheus/sanitize.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package prometheus
package prometheus // import "go.opentelemetry.io/otel/exporters/metric/prometheus"

import (
"strings"
Expand Down
2 changes: 1 addition & 1 deletion exporters/otlp/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otlp
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"

import (
"math/rand"
Expand Down
2 changes: 1 addition & 1 deletion exporters/otlp/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otlp
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion exporters/otlp/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otlp
package otlp // import "go.opentelemetry.io/otel/exporters/otlp"

// This code was based on
// contrib.go.opencensus.io/exporter/ocagent/connection.go
Expand Down
2 changes: 1 addition & 1 deletion exporters/stdout/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"

import (
"io"
Expand Down
2 changes: 1 addition & 1 deletion exporters/stdout/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"

import (
"go.opentelemetry.io/otel"
Expand Down
2 changes: 1 addition & 1 deletion exporters/stdout/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion exporters/stdout/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package stdout
package stdout // import "go.opentelemetry.io/otel/exporters/stdout"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/jaeger/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/jaeger/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/jaeger/jaeger.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/jaeger/reconnecting_udp_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +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
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/jaeger/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package jaeger
package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/zipkin/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package zipkin
package zipkin // import "go.opentelemetry.io/otel/exporters/trace/zipkin"

import (
"encoding/binary"
Expand Down
2 changes: 1 addition & 1 deletion exporters/trace/zipkin/zipkin.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package zipkin
package zipkin // import "go.opentelemetry.io/otel/exporters/trace/zipkin"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion global/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/global"

import (
"log"
Expand Down
2 changes: 1 addition & 1 deletion global/metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/global"

import (
"go.opentelemetry.io/otel"
Expand Down
2 changes: 1 addition & 1 deletion global/propagation.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/global"

import (
"go.opentelemetry.io/otel"
Expand Down
2 changes: 1 addition & 1 deletion global/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -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/global"

import (
"go.opentelemetry.io/otel"
Expand Down
2 changes: 1 addition & 1 deletion label/encoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package label
package label // import "go.opentelemetry.io/otel/label"

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion label/iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package label
package label // import "go.opentelemetry.io/otel/label"

// Iterator allows iterating over the set of labels in order,
// sorted by key.
Expand Down
2 changes: 1 addition & 1 deletion label/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package label
package label // import "go.opentelemetry.io/otel/label"

// Key represents the key part in key-value pairs. It's a string. The
// allowed character set in the key depends on the use of the key.
Expand Down
2 changes: 1 addition & 1 deletion label/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package label
package label // import "go.opentelemetry.io/otel/label"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion label/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package label
package label // import "go.opentelemetry.io/otel/label"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion label/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package label
package label // import "go.opentelemetry.io/otel/label"

import (
"encoding/json"
Expand Down
2 changes: 1 addition & 1 deletion metric.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion metric_instrument.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

//go:generate stringer -type=InstrumentKind

package otel
package otel // import "go.opentelemetry.io/otel"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion metric_noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion metric_sdkapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion number.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package otel
package otel // import "go.opentelemetry.io/otel"

//go:generate stringer -type=NumberKind

Expand Down
2 changes: 1 addition & 1 deletion oteltest/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion oteltest/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"

import (
"time"
Expand Down
2 changes: 1 addition & 1 deletion oteltest/harness.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion oteltest/meter.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"

import (
"context"
Expand Down
2 changes: 1 addition & 1 deletion oteltest/mock_span.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package oteltest
package oteltest // import "go.opentelemetry.io/otel/oteltest"

import (
"go.opentelemetry.io/otel"
Expand Down
Loading

0 comments on commit e22a48d

Please sign in to comment.