From 1ab153b9f39e6cc96d434edfc1b296833b8df943 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 1 May 2026 16:15:28 +0300 Subject: [PATCH 1/2] chore: Fix `otel` module name --- example/go.mod | 4 ++-- example/otel/main.go | 2 +- otel/go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/go.mod b/example/go.mod index 682d063e18c..02f519ef6be 100644 --- a/example/go.mod +++ b/example/go.mod @@ -7,8 +7,8 @@ require ( github.com/bradleyfalzon/ghinstallation/v2 v2.18.0 github.com/gofri/go-github-pagination v1.0.1 github.com/gofri/go-github-ratelimit/v2 v2.0.2 + github.com/google/go-github/otel/v85 v85.0.0-00010101000000-000000000000 github.com/google/go-github/v85 v85.0.0 - github.com/google/go-github/v85/otel v0.0.0-00010101000000-000000000000 github.com/sigstore/sigstore-go v1.1.4 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.43.0 go.opentelemetry.io/otel/sdk v1.43.0 @@ -90,4 +90,4 @@ require ( // Use version at HEAD, not the latest published. replace github.com/google/go-github/v85 => ../ -replace github.com/google/go-github/v85/otel => ../otel +replace github.com/google/go-github/otel/v85 => ../otel diff --git a/example/otel/main.go b/example/otel/main.go index 8693756a438..24fcb4deb2e 100644 --- a/example/otel/main.go +++ b/example/otel/main.go @@ -13,8 +13,8 @@ import ( "log" "net/http" + "github.com/google/go-github/otel/v85" "github.com/google/go-github/v85/github" - "github.com/google/go-github/v85/otel" "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" "go.opentelemetry.io/otel/sdk/trace" ) diff --git a/otel/go.mod b/otel/go.mod index e630ae6ce18..18da8b75897 100644 --- a/otel/go.mod +++ b/otel/go.mod @@ -1,4 +1,4 @@ -module github.com/google/go-github/v85/otel +module github.com/google/go-github/otel/v85 go 1.25.0 From f2ad55278b2d0fa97733f5f95ae970889a2a8009 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 4 May 2026 14:45:28 +0300 Subject: [PATCH 2/2] example: change to v85.0.0 --- example/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/go.mod b/example/go.mod index 02f519ef6be..755e73fdd0e 100644 --- a/example/go.mod +++ b/example/go.mod @@ -7,7 +7,7 @@ require ( github.com/bradleyfalzon/ghinstallation/v2 v2.18.0 github.com/gofri/go-github-pagination v1.0.1 github.com/gofri/go-github-ratelimit/v2 v2.0.2 - github.com/google/go-github/otel/v85 v85.0.0-00010101000000-000000000000 + github.com/google/go-github/otel/v85 v85.0.0 github.com/google/go-github/v85 v85.0.0 github.com/sigstore/sigstore-go v1.1.4 go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.43.0