You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go.mod file includes google.golang.org/grpc/cmd/protoc-gen-go-grpc but does not need it. This causes an issue with go list when V3.2.1 is used in another repo.
Solution
run go mod tidy prior to release.
Details
Updating my repository to use google.golang.org/[email protected] caused a strange and unexpected error. My go.sum file ends up with a dependency on google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod
This causes an issue in my repo when running the following command:
go list google.golang.org/grpc/...
I think this is due to an issue with one of the Go commands - e.g., go mod tidy or go list. But after forking this repo and running go mod tidy the dependency to protoc-gen-go-grpc is removed from martian and then from my repo once I run go mod tidy there. And the go list command works again.
The text was updated successfully, but these errors were encountered:
Version: v3.2.1
Problem
go.mod
file includesgoogle.golang.org/grpc/cmd/protoc-gen-go-grpc
but does not need it. This causes an issue withgo list
when V3.2.1 is used in another repo.Solution
run
go mod tidy
prior to release.Details
Updating my repository to use
google.golang.org/[email protected]
caused a strange and unexpected error. Mygo.sum
file ends up with a dependency ongoogle.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod
This causes an issue in my repo when running the following command:
I think this is due to an issue with one of the Go commands - e.g.,
go mod tidy
orgo list
. But after forking this repo and runninggo mod tidy
the dependency toprotoc-gen-go-grpc
is removed frommartian
and then from my repo once I rungo mod tidy
there. And thego list
command works again.The text was updated successfully, but these errors were encountered: