1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-11-24 08:22:25 +02:00

Update go directive value in go.mod files to 1.19 (#3850)

* remove go 1.18 in go.mod, add go 1.19

* revert //+build directives

* remove +build directives

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Mori 2023-03-16 00:52:04 +08:00 committed by GitHub
parent 0694868e55
commit 3a40e65a38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
34 changed files with 33 additions and 36 deletions

View File

@ -156,7 +156,7 @@ go-mod-tidy/%: DIR=$*
go-mod-tidy/%: | crosslink
@echo "$(GO) mod tidy in $(DIR)" \
&& cd $(DIR) \
&& $(GO) mod tidy -compat=1.18
&& $(GO) mod tidy -compat=1.19
.PHONY: lint-modules
lint-modules: go-mod-tidy

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/bridge/opencensus
go 1.18
go 1.19
require (
github.com/stretchr/testify v1.8.2

View File

@ -12,9 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//go:build go1.18
// +build go1.18
package opencensus // import "go.opentelemetry.io/otel/bridge/opencensus"
import (

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/bridge/opencensus/test
go 1.18
go 1.19
require (
go.opencensus.io v0.24.0

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/bridge/opentracing
go 1.18
go 1.19
replace go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/bridge/opentracing/test
go 1.18
go 1.19
replace go.opentelemetry.io/otel => ../../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/fib
go 1.18
go 1.19
require (
go.opentelemetry.io/otel v1.15.0-rc.1

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/jaeger
go 1.18
go 1.19
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/namedtracer
go 1.18
go 1.19
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/opencensus
go 1.18
go 1.19
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/otel-collector
go 1.18
go 1.19
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/passthrough
go 1.18
go 1.19
require (
go.opentelemetry.io/otel v1.15.0-rc.1

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/prometheus
go 1.18
go 1.19
require (
github.com/prometheus/client_golang v1.14.0

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/view
go 1.18
go 1.19
require (
github.com/prometheus/client_golang v1.14.0

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/zipkin
go 1.18
go 1.19
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/jaeger
go 1.18
go 1.19
require (
github.com/go-logr/logr v1.2.3

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/internal/retry
go 1.18
go 1.19
require (
github.com/cenkalti/backoff/v4 v4.2.0

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/otlpmetric
go 1.18
go 1.19
require (
github.com/google/go-cmp v0.5.9

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
go 1.18
go 1.19
retract v0.32.2 // Contains unresolvable dependencies.

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
go 1.18
go 1.19
retract v0.32.2 // Contains unresolvable dependencies.

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/otlptrace
go 1.18
go 1.19
require (
github.com/google/go-cmp v0.5.9

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
go 1.18
go 1.19
require (
github.com/stretchr/testify v1.8.2

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
go 1.18
go 1.19
require (
github.com/stretchr/testify v1.8.2

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/prometheus
go 1.18
go 1.19
require (
github.com/prometheus/client_golang v1.14.0

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
go 1.18
go 1.19
require (
github.com/stretchr/testify v1.8.2

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/stdout/stdouttrace
go 1.18
go 1.19
replace (
go.opentelemetry.io/otel => ../../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/zipkin
go 1.18
go 1.19
require (
github.com/go-logr/logr v1.2.3

2
go.mod
View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel
go 1.18
go 1.19
require (
github.com/go-logr/logr v1.2.3

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/internal/tools
go 1.18
go 1.19
require (
github.com/client9/misspell v0.3.4

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/metric
go 1.18
go 1.19
require (
github.com/stretchr/testify v1.8.2

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/schema
go 1.18
go 1.19
require (
github.com/Masterminds/semver/v3 v3.2.0

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/sdk
go 1.18
go 1.19
replace go.opentelemetry.io/otel => ../

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/sdk/metric
go 1.18
go 1.19
require (
github.com/go-logr/logr v1.2.3

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/trace
go 1.18
go 1.19
replace go.opentelemetry.io/otel => ../