Update Go Dependencies #379

Merged
Quaternions merged 3 commits from upd-go into staging 2026-07-17 21:01:52 +00:00
Owner

I have no idea what I am doing, I used ai to help fix an issue.

This is my process:
go get -u ./...
error:

        google.golang.org/grpc/status imports
        google.golang.org/genproto/googleapis/rpc/status: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules:
        google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 (/home/quat/go/pkg/mod/google.golang.org/genproto@v0.0.0-20200526211855-cb27e3aa2013/googleapis/rpc/status)
        google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d (/home/quat/go/pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20260715232425-e75dac1f907d/status)

ai said to do this:
go mod edit -replace google.golang.org/genproto=google.golang.org/genproto/googleapis/rpc@latest
which added a line to the go.mod:

replace google.golang.org/genproto => google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d

after running go get -u ./... successfully, I removed the 'replace' line manually and things still seem to work. Ai thinks that "This happened because Google split google.golang.org/genproto into multiple smaller modules (like genproto/googleapis/rpc, genproto/googleapis/api, etc.) starting around 2023"

I have no idea what I am doing, I used ai to help fix an issue. This is my process: `go get -u ./...` error: ``` google.golang.org/grpc/status imports google.golang.org/genproto/googleapis/rpc/status: ambiguous import: found package google.golang.org/genproto/googleapis/rpc/status in multiple modules: google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 (/home/quat/go/pkg/mod/google.golang.org/genproto@v0.0.0-20200526211855-cb27e3aa2013/googleapis/rpc/status) google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d (/home/quat/go/pkg/mod/google.golang.org/genproto/googleapis/rpc@v0.0.0-20260715232425-e75dac1f907d/status) ``` ai said to do this: `go mod edit -replace google.golang.org/genproto=google.golang.org/genproto/googleapis/rpc@latest` which added a line to the go.mod: ``` replace google.golang.org/genproto => google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d ``` after running `go get -u ./...` successfully, I removed the 'replace' line manually and things still seem to work. Ai thinks that "This happened because Google split google.golang.org/genproto into multiple smaller modules (like genproto/googleapis/rpc, genproto/googleapis/api, etc.) starting around 2023"
Quaternions added 2 commits 2026-07-17 20:54:10 +00:00
remove replace
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2b0ed3159d
Quaternions added 1 commit 2026-07-17 20:57:48 +00:00
update drone golang
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2b63e5af97
Quaternions merged commit f3700e3d4b into staging 2026-07-17 21:01:52 +00:00
Quaternions deleted branch upd-go 2026-07-17 21:01:52 +00:00
Sign in to join this conversation.