Home > Software engineering >  Golang grpc go.mod issue
Golang grpc go.mod issue

Time:08-06

Hi guys does anyone would know what is the issue with this package:

go: loading module retractions for github.com/googleapis/gax-go/[email protected]: parsing go.mod: go.mod:8:2: require google.golang.org/genproto: version "b98a9ff5e252" invalid: must be of the form v1.2.3

after doing go get -u ./... or how to work around to fix this ?

CodePudding user response:

The go.mod file of the module you are trying to import is broken. As the message you posted says, the version number should start with "v" (see here)

It seems that the module was broken by a bot https://github.com/googleapis/gax-go/commit/735836c34b8124d657958d469998865569e14742

The solution would be to revert the commit on the googleapis/gax-go repository.

  •  Tags:  
  • go
  • Related