Cannot build due to deprecated go module github.com/golang/protobuf
- Dominant language
- Go
- Stars
- 2.3k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
Syncing to version 0.70 with the latest go/protoc and then building, fails.
```
gnostic % make
go generate ./...
go get ./...
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
go install ./...
cd extensions/sample; make
generate-gnostic --extension x-sampleone.json --out_dir=generated
make[1]: generate-gnostic: No such file or directory
make[1]: *** [build] Error 1
make: *** [all] Error 2
```
Replacing the deprecated module with the suggested replacement causes cascades of errors subsequent builds. Please advise if there are versions that work. Versions I tried with:
```
gnostic % go version
go version go1.21.4 darwin/arm64
gnostic % protoc --version
libprotoc 25.1
Contributor guide
Assessment
This issue has not been assessed yet.