Reputation: 2083
I'm searching for a package to parse a protobuf file and then found this [1]:
github.com/gogo/protobuf/parser
However, when I tried to do go get github.com/gogo/protobuf/parser there was no such package. Anyone knows another alternative of this package?
[1] https://libraries.io/go/github.com%2Fgogo%2Fprotobuf%2Fparser
Upvotes: 2
Views: 202
Reputation: 1924
you can use default protobuf - https://github.com/golang/protobuf if you have errors in your protobuffers it says you after generating
all you need about usage and installation you can read in readme https://github.com/golang/protobuf/blob/master/README.md
Upvotes: 0
Reputation: 166704
You are using unofficial and old documentation from Libraries.io.
Use official, up-to-date documentation, and follow the installation intructions.
Protocol Buffers for Go with Gadgets: https://github.com/gogo/protobuf
Upvotes: 2