Skip to content

Commit

Permalink
Fix example packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared committed Sep 30, 2024
1 parent 609c9f4 commit 74201d2
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 7 deletions.
3 changes: 3 additions & 0 deletions example/dice/doc.go → example/dice/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}
3 changes: 3 additions & 0 deletions example/namedtracer/doc.go → example/namedtracer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}
3 changes: 3 additions & 0 deletions example/opencensus/doc.go → example/opencensus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}
3 changes: 3 additions & 0 deletions example/passthrough/doc.go → example/passthrough/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}
3 changes: 3 additions & 0 deletions example/prometheus/doc.go → example/prometheus/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}
7 changes: 0 additions & 7 deletions example/zipkin/doc.go

This file was deleted.

10 changes: 10 additions & 0 deletions example/zipkin/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

// Package main provides a code sample of the Prometheus exporter.
//
// Deprecated: Examples are moved to https://github.com/open-telemetry/opentelemetry-go-contrib.
package main

func main() {
}

0 comments on commit 74201d2

Please sign in to comment.