-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
message/pb: stop using gogo/protobuf (#277)
As a project, it has mostly been unmaintained since 2019. Having three implementations of protobuf in graphsync is unfortunate; we really shouldn't need golang/protobuf and gogo/protobuf. Luckily, we only used gogo to set two fields as non-nullable, and that detail was never actually used in practice. Those extra bits of info would only be used by protoc-gen-gofast, gogo's generator, while we've always used the regular protoc-gen-go. As a bonus, golang/protobuf was only pulled by gogo/protobuf, so we can drop both from go.mod. The generated code doesn't change at all in terms of functionality.
- Loading branch information
Showing
5 changed files
with
63 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.