From 28b459520c17ba001025c2467c9a36a6144b9800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Fri, 13 Oct 2023 08:26:35 +0200 Subject: [PATCH] Deprecate example/fib (#4618) --- CHANGELOG.md | 1 + example/fib/doc.go | 18 ++++++++++++++++++ example/fib/go.mod | 1 + 3 files changed, 20 insertions(+) create mode 100644 example/fib/doc.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6a4df4b..1afb77faf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Deprecated - Deprecate `go.opentelemetry.io/otel/bridge/opencensus.NewTracer` in favor of `opencensus.InstallTraceBridge`. (#4567) +- Deprecate `go.opentelemetry.io/otel/example/fib` package is in favor of `go.opentelemetry.io/otel/example/dice`. (#4618) ### Changed diff --git a/example/fib/doc.go b/example/fib/doc.go new file mode 100644 index 000000000..77b63d476 --- /dev/null +++ b/example/fib/doc.go @@ -0,0 +1,18 @@ +// Copyright The OpenTelemetry Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// 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. + +// Fib is the "Fibonacci" old getting started example application. +// +// Deprecated: See [go.opentelemetry.io/otel/example/dice] instead. +package main diff --git a/example/fib/go.mod b/example/fib/go.mod index d1f4c004f..553ec4b46 100644 --- a/example/fib/go.mod +++ b/example/fib/go.mod @@ -1,3 +1,4 @@ +// Deprecated: See go.opentelemetry.io/otel/example/dice instead. module go.opentelemetry.io/otel/example/fib go 1.20